mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-10-06 01:12:40 +02:00
Makefiles: don't use -xobjective-c when compiling C++ files on Mac
On Mac, pass -xobjective-c to the compiler through AM_CFLAGS, not AM_CPPFLAGS, so that it's only used for C sources, and not C++ sources. In the latter case, it clashes with the -std=... flag, spewing an error. Thanks, Partha :)
This commit is contained in:
@@ -67,5 +67,7 @@ AM_CPPFLAGS = \
|
||||
-DGIMP_PLUGIN_VERSION=\""$(GIMP_PLUGIN_VERSION)"\" \
|
||||
-I$(top_srcdir) \
|
||||
$(GTK_CFLAGS) \
|
||||
-I$(includedir) \
|
||||
-I$(includedir)
|
||||
|
||||
AM_CFLAGS = \
|
||||
$(xobjective_c)
|
||||
|
Reference in New Issue
Block a user