From a1e7a782122ffcdd32eefafdf5d6c3e28c39bbeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lukas=20Spie=C3=9F?= Date: Sat, 24 Oct 2015 00:57:39 +0200 Subject: [PATCH] Move clang warnings to seperate variable --- Support/HockeySDK.xcconfig | 1 + Support/buildnumber.xcconfig | 2 +- Support/release.xcconfig | 4 ++-- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Support/HockeySDK.xcconfig b/Support/HockeySDK.xcconfig index 07bd4f0f14..1f87528c05 100644 --- a/Support/HockeySDK.xcconfig +++ b/Support/HockeySDK.xcconfig @@ -1,3 +1,4 @@ OTHER_LDFLAGS=$(inherited) -framework CoreText -framework CoreGraphics -framework Foundation -framework QuartzCore -framework SystemConfiguration -framework UIKit -framework Security -framework AssetsLibrary -framework MobileCoreServices -framework QuickLook -lc++ HOCKEYSDK_DOCSET_NAME=HockeySDK-iOS HOCKEYSDK_GCC_PREPROCESSOR_DEFINITIONS=$(inherited) $(XCODEBUILD_GCC_PREPROCESSOR_DEFINITIONS) +HOCKEYSDK_WARNING_FLAGS = -Wshorten-64-to-32 -Wall \ No newline at end of file diff --git a/Support/buildnumber.xcconfig b/Support/buildnumber.xcconfig index 2ed6bbd861..db4a501a3a 100644 --- a/Support/buildnumber.xcconfig +++ b/Support/buildnumber.xcconfig @@ -7,4 +7,4 @@ BIT_ARM_ARCHS = armv7 armv7s arm64 BIT_SIM_ARCHS = x86_64 i386 ARCHS = $(BIT_ARM_ARCHS) VALID_ARCHS = $(BIT_ARM_ARCHS) -OTHER_CFLAGS = -Wshorten-64-to-32 -Wall +OTHER_CFLAGS = $(HOCKEYSDK_WARNING_FLAGS) \ No newline at end of file diff --git a/Support/release.xcconfig b/Support/release.xcconfig index 4b7cda56e4..f73473130a 100644 --- a/Support/release.xcconfig +++ b/Support/release.xcconfig @@ -1,4 +1,4 @@ #include "buildnumber.xcconfig" -OTHER_CFLAGS[sdk=iphoneos9.*] = -Wshorten-64-to-32 -Wall -fembed-bitcode -OTHER_CFLAGS[sdk=iphonesimulator9.*] = -Wshorten-64-to-32 -Wall +OTHER_CFLAGS[sdk=iphoneos9.*] = $(HOCKEYSDK_WARNING_FLAGS) -fembed-bitcode +OTHER_CFLAGS[sdk=iphonesimulator9.*] = $(HOCKEYSDK_WARNING_FLAGS)