Skip to content

Commit

Permalink
Use same compile flags also for link
Browse files Browse the repository at this point in the history
Linking can fail if the minimum versions are different
  • Loading branch information
BrzVlad committed Aug 23, 2018
1 parent 24c6999 commit cf20539
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builds/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ $(2)_CPPFLAGS = \
-mmacosx-version-min=$(MIN_OSX_SDK_VERSION)
$(2)_CFLAGS = -O2 -arch $(1)
$(2)_CXXFLAGS = -O2 -arch $(1)
$(2)_LDFLAGS = $(COMMON_LDFLAGS)
$(2)_LDFLAGS = $(COMMON_LDFLAGS) -isysroot $(XCODE_MAC_SDKROOT) -mmacosx-version-min=$(MIN_OSX_SDK_VERSION)
$(2)_CONFIGURE_FLAGS = \
--prefix=$$(BUILD_DESTDIR)/$(2) \
--host=$(1)-apple-darwin10 \
Expand Down

0 comments on commit cf20539

Please sign in to comment.