Skip to content

Instantly share code, notes, and snippets.

@rolfbjarne
Last active June 10, 2016 09:13
Show Gist options
  • Save rolfbjarne/d655cb6b163d107ecdb835b189de4b26 to your computer and use it in GitHub Desktop.
Save rolfbjarne/d655cb6b163d107ecdb835b189de4b26 to your computer and use it in GitHub Desktop.
diff --git a/builds/Makefile b/builds/Makefile
index 1c3eead..f8acaf9 100644
--- a/builds/Makefile
+++ b/builds/Makefile
@@ -154,8 +154,8 @@ define MacBuildTemplate
$(2)_CPPFLAGS = \
-isysroot $(XCODE_MAC_SDKROOT) \
-mmacosx-version-min=$(MIN_OSX_SDK_VERSION)
-$(2)_CFLAGS = -O2 -arch $(1)
-$(2)_CXXFLAGS = -O2 -arch $(1)
+$(2)_CFLAGS = -O2 -arch $(1) $(MAC_BUILD_CFLAGS)
+$(2)_CXXFLAGS = -O2 -arch $(1) $(MAC_BUILD_CFLAGS)
$(2)_CONFIGURE_FLAGS = \
--prefix=$$(BUILD_DESTDIR)/$(2) \
--host=$(1)-apple-darwin10 \
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment