mirror of https://github.com/GNOME/gimp.git
configure: default CPPFLAGS_FOR_BUILD to CPPFLAGS on native builds.
Similarly to what I did for CFLAGS and LDFLAGS in commit 20fdb8d
, the
preprocessor flags for build tools should also be correctly defaulted
and used when building invert-svg.
This commit is contained in:
parent
d45fd4041d
commit
0de259682e
|
@ -2143,6 +2143,9 @@ if test "$cross_compiling" != "yes"; then
|
||||||
if test "x$CFLAGS_FOR_BUILD" = "x"; then
|
if test "x$CFLAGS_FOR_BUILD" = "x"; then
|
||||||
CFLAGS_FOR_BUILD="$CFLAGS"
|
CFLAGS_FOR_BUILD="$CFLAGS"
|
||||||
fi
|
fi
|
||||||
|
if test "x$CPPFLAGS_FOR_BUILD" = "x"; then
|
||||||
|
CPPFLAGS_FOR_BUILD="$CPPFLAGS"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_ARG_ENABLE(vector-icons, [ --disable-vector-icons use raster icons rather than vector ones (default=auto)], ,
|
AC_ARG_ENABLE(vector-icons, [ --disable-vector-icons use raster icons rather than vector ones (default=auto)], ,
|
||||||
|
|
|
@ -45,7 +45,7 @@ test_clipboard_LDADD = $(GTK_LIBS)
|
||||||
|
|
||||||
if ENABLE_VECTOR_ICONS
|
if ENABLE_VECTOR_ICONS
|
||||||
invert-svg$(BUILD_EXEEXT): invert-svg.c
|
invert-svg$(BUILD_EXEEXT): invert-svg.c
|
||||||
$(CC_FOR_BUILD) -o $@ $< $(NATIVE_GLIB_LIBS) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(NATIVE_GLIB_CFLAGS)
|
$(CC_FOR_BUILD) -o $@ $< $(NATIVE_GLIB_LIBS) $(CPPFLAGS_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) $(NATIVE_GLIB_CFLAGS)
|
||||||
|
|
||||||
|
|
||||||
# compute_svg_viewbox is not built or used because librsvg is just too buggy
|
# compute_svg_viewbox is not built or used because librsvg is just too buggy
|
||||||
|
|
Loading…
Reference in New Issue