]> git.saurik.com Git - apple/security.git/blob - OSX/config/security_macos.xcconfig
Security-57740.51.3.tar.gz
[apple/security.git] / OSX / config / security_macos.xcconfig
1 #include "OSX/config/base.xcconfig"
2
3 GCC_PRECOMPILE_PREFIX_HEADER = YES
4
5 ALWAYS_SEARCH_USER_PATHS = NO
6
7 HEADER_SEARCH_PATHS = $(inherited) $(PROJECT_DIR)/include $(PROJECT_DIR)/sec/ProjectHeaders $(PROJECT_DIR)/utilities
8 LIBRARY_SEARCH_PATHS = $(inherited) /usr/lib/system
9
10 STRIP_INSTALLED_PRODUCT = YES
11 DEPLOYMENT_POSTPROCESSING = NO
12
13 GCC_C_LANGUAGE_STANDARD = gnu99
14 SUPPORTED_PLATFORMS = macOS
15
16 // Don't use the inherited cflags; they set SEC_IOS_ON_OSX
17 GCC_PREPROCESSOR_DEFINITIONS = OSSPINLOCK_USE_INLINED=0
18
19 GCC_TREAT_WARNINGS_AS_ERRORS = YES
20 GCC_WARN_ABOUT_DEPRECATED_FUNCTIONS = NO
21 GCC_SYMBOLS_PRIVATE_EXTERN = NO
22 GCC_WARN_64_TO_32_BIT_CONVERSION = YES
23 GCC_WARN_ABOUT_MISSING_PROTOTYPES = YES
24 GCC_WARN_ABOUT_RETURN_TYPE = YES
25 GCC_WARN_UNUSED_VARIABLE = YES
26
27 // Warnings for old code
28 GCC_WARN_FOUR_CHARACTER_CONSTANTS = NO
29
30 // If we run into trouble, uncomment:
31 // WARNING_CFLAGS = -Wno-deprecated-declarations