diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 11 |
1 files changed, 8 insertions, 3 deletions
@@ -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" |