iOS, added -ggdb2 prelink

New xcode needs -ggdb2 (like the compiler) in order not to strip symbols

Change-Id: I652b1d9791d1ce6d752748eb950615051d140ba7
This commit is contained in:
jan Iversen 2017-11-12 12:33:48 +01:00
parent 76fe5bddcc
commit f5fea7373b

View file

@ -205,7 +205,7 @@
MACH_O_TYPE = staticlib;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
PRELINK_FLAGS = "-Wl -ios_version_min 11.0 -lz -liconv";
PRELINK_FLAGS = "-Wl -ios_version_min 11.0 -lz -liconv -ggdb2";
SDKROOT = iphoneos;
VALID_ARCHS = "x86_64 arm64";
};
@ -272,7 +272,7 @@
MACH_O_TYPE = staticlib;
MTL_ENABLE_DEBUG_INFO = NO;
ONLY_ACTIVE_ARCH = YES;
PRELINK_FLAGS = "-Wl -ios_version_min 11.0 -lz -liconv";
PRELINK_FLAGS = "-Wl -ios_version_min 11.0 -lz -liconv -ggdb2";
SDKROOT = iphoneos;
VALIDATE_PRODUCT = YES;
VALID_ARCHS = "x86_64 arm64";