aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 8 insertions, 3 deletions
diff --git a/configure b/configure
index dc2994d33b..cf70f8cb5f 100755
--- a/configure
+++ b/configure
@@ -3001,9 +3001,14 @@ case $_backend in
append_var LIBS "-lobjc -framework UIKit -framework CoreGraphics -framework OpenGLES"
append_var LIBS "-framework QuartzCore -framework CoreFoundation -framework Foundation"
append_var LIBS "-framework AudioToolbox -framework CoreAudio"
- append_var LDFLAGS "-isysroot $SDKROOT -miphoneos-version-min=7.1 -arch armv7"
- append_var CFLAGS "-isysroot $SDKROOT -miphoneos-version-min=7.1 -arch armv7"
- append_var CXXFLAGS "-isysroot $SDKROOT -miphoneos-version-min=7.1 -arch armv7"
+ append_var LDFLAGS "-miphoneos-version-min=7.1 -arch armv7"
+ append_var CFLAGS "-miphoneos-version-min=7.1 -arch armv7"
+ append_var CXXFLAGS "-miphoneos-version-min=7.1 -arch armv7"
+ if test -n "$SDKROOT"; then
+ append_var LDFLAGS "-isysroot $SDKROOT"
+ append_var CFLAGS "-isysroot $SDKROOT"
+ append_var CXXFLAGS "-isysroot $SDKROOT"
+ fi
;;
linuxmoto)
append_var DEFINES "-DLINUXMOTO"