summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-06-06 09:07:30 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-06-06 09:07:30 +0300
commit78f9b77628e5288e47ad5de4722c4a69c6295406 (patch)
treee7142f556d976c5cb9fe018932b00a69d197b359 /glib
parent8cae99e1be367fc801acaaadfe4879ff1ebb4aa4 (diff)
Always compare CROSS_COMPILING explicitly to "YES"
Diffstat (limited to 'glib')
-rw-r--r--glib/makefile.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/makefile.mk b/glib/makefile.mk
index 280b1a2a0b4b..c1bb0692a16a 100644
--- a/glib/makefile.mk
+++ b/glib/makefile.mk
@@ -79,7 +79,7 @@ CONFIGURE_FLAGS+=CPPFLAGS="$(ARCH_FLAGS) $(EXTRA_CDEFS) -DBUILD_OS_APPLEOSX"
CONFIGURE_FLAGS+=CFLAGS="$(ARCH_FLAGS) $(EXTRA_CFLAGS) -I$(SOLARINCDIR)$/external"
CONFIGURE_FLAGS+=LDFLAGS="-L$(SOLARLIBDIR) $(EXTRA_LINKFLAGS) $(FRAMEWORK)"
-.IF "$(CROSS_COMPILING)"!=""
+.IF "$(CROSS_COMPILING)"=="YES"
CONFIGURE_FLAGS+=--build=$(BUILD_PLATFORM) --host=$(HOST_PLATFORM)
.ENDIF