Add -frecord-gcc-switches to the global cflags
[scm/meta/obs.git] / Tizen:Base / _config
index 8c6c15a..a07833a 100644 (file)
@@ -30,17 +30,18 @@ Prefer: mono-data-sqlite
 #     But when building 64bit target, they could make 'have choice' error with original libs in 64bit repository.
 #     e.g., libstdc++ and libstdc++-64bit provides same libs. It's ambiguous to choose appropriate one.
 #     Owner : Jiyoung Yun (jy910.yun@samsung.com)
-Prefer: libgcc libstdc++ libunwind libuuid zlib libopenssl
+#     libopenssl11 : Dongsun Lee (ds73.lee@samsung.com)
+Prefer: libgcc libstdc++ libunwind libuuid zlib libopenssl libopenssl11
 
 ############################# base definition ###############################
 
 # %release_name and %tizen_full_version are used in platform/upstream/tizen-release
 
 Macros:
-%release_name Tizen5/Unified
+%release_name Tizen6/Unified
 
-%tizen_version_major 5
-%tizen_version_minor 5
+%tizen_version_major 6
+%tizen_version_minor 0
 %tizen_version_patch 0
 
 %tizen_version %{tizen_version_major}.%{tizen_version_minor}
@@ -62,11 +63,6 @@ Macros:
 
 ############################# build config #####################################
 
-%define gcc_version 62
-Macros:
-%gcc_version 62
-:Macros
-
 ########## targets ##########
 
 %ifarch i586
@@ -202,9 +198,9 @@ Substitute: glibc-devel-32bit
 %endif
 
 ########## compilation flags ##########
-%define __global_cflags -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector -Wformat-security -fmessage-length=0 -Wl,--as-needed
+%define __global_cflags -O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed
 
 Optflags: armv7l %{__global_cflags} --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -mthumb -Wp,-D__SOFTFP__ -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb
 Optflags: aarch64 %{__global_cflags} -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53
-Optflags: i686 %{__global_cflags} -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer
+Optflags: i686 %{__global_cflags} -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign
 Optflags: x86_64 %{__global_cflags} -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer