Skip to content

Commit 5e918bc

Browse files
committed
wip
1 parent b913df1 commit 5e918bc

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

Dockerfile

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ RUN \
8282
echo "$GLIB_SHA256 glib.tar.xz" | sha256sum --status -c - && \
8383
tar $TAR_OPTS glib.tar.xz && cd glib-* && \
8484
meson setup build \
85-
-Dbuildtype=release \
85+
-Dbuildtype=debug \
8686
-Ddefault_library=static \
8787
-Dlibmount=disabled && \
8888
ninja -j$(nproc) -vC build install
@@ -98,7 +98,7 @@ RUN \
9898
echo "$LIBHARFBUZZ_SHA256 harfbuzz.tar.xz" | sha256sum --status -c - && \
9999
tar $TAR_OPTS harfbuzz.tar.xz && cd harfbuzz-* && \
100100
meson setup build \
101-
-Dbuildtype=release \
101+
-Dbuildtype=debug \
102102
-Ddefault_library=static && \
103103
ninja -j$(nproc) -vC build install
104104

@@ -113,7 +113,7 @@ RUN \
113113
echo "$CAIRO_SHA256 cairo.tar.xz" | sha256sum --status -c - && \
114114
tar $TAR_OPTS cairo.tar.xz && cd cairo-* && \
115115
meson setup build \
116-
-Dbuildtype=release \
116+
-Dbuildtype=debug \
117117
-Ddefault_library=static \
118118
-Dtests=disabled \
119119
-Dquartz=disabled \
@@ -136,7 +136,7 @@ RUN \
136136
echo "$PANGO_SHA256 pango.tar.xz" | sha256sum --status -c - && \
137137
tar $TAR_OPTS pango.tar.xz && cd pango-* && \
138138
meson setup build \
139-
-Dbuildtype=release \
139+
-Dbuildtype=debug \
140140
-Ddefault_library=both \
141141
-Dintrospection=disabled \
142142
-Dgtk_doc=false && \
@@ -155,7 +155,7 @@ RUN \
155155
# workaround for https://gitlab.gnome.org/GNOME/librsvg/-/issues/1158
156156
sed -i "/^if host_system in \['windows'/s/, 'linux'//" meson.build && \
157157
meson setup build \
158-
-Dbuildtype=release \
158+
-Dbuildtype=debug \
159159
-Ddefault_library=static \
160160
-Ddocs=disabled \
161161
-Dintrospection=disabled \
@@ -191,16 +191,14 @@ RUN \
191191
sed -i 's/add_ldexeflags -fPIE -pie/add_ldexeflags -fPIE -static-pie/' configure && \
192192
./configure \
193193
--pkg-config-flags="--static" \
194-
--extra-cflags="-fopenmp" \
194+
--extra-cflags="-O0 -ggdb -fopenmp" \
195195
--extra-ldflags="-fopenmp -Wl,--allow-multiple-definition -Wl,-z,stack-size=2097152" \
196196
--toolchain=hardened \
197-
--disable-debug \
198197
--disable-shared \
199198
--disable-ffplay \
200199
--enable-static \
201200
--enable-gpl \
202201
--enable-version3 \
203-
$FDKAAC_FLAGS \
204202
--enable-librsvg \
205203
|| (cat ffbuild/config.log ; false) \
206204
&& make -j$(nproc) install

0 commit comments

Comments
 (0)