From: Dongkyun Son Date: Wed, 28 Feb 2024 08:29:17 +0000 (+0900) Subject: Tizen-Base-Toolchain: sync-up Tizen-Base-X config. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6ad2634bee45b56fbe852df166921914258203f8;p=scm%2Fmeta%2Fqb.git Tizen-Base-Toolchain: sync-up Tizen-Base-X config. Change-Id: I74a67d1cb2cc5a045dbb746d1bfe2d999268e97b Signed-off-by: Dongkyun Son --- diff --git a/TIZEN/Tizen/Tizen-Base-Toolchain/aggregate_list b/TIZEN/Tizen/Tizen-Base-Toolchain/aggregate_list deleted file mode 100644 index 6cd2c22..0000000 --- a/TIZEN/Tizen/Tizen-Base-Toolchain/aggregate_list +++ /dev/null @@ -1,18 +0,0 @@ - - - autogen - guile - help2man - itstool - libsndfile - lua - nghttp2 - nss - pam - perl-DBD-SQLite - python - python3-base - python3 - - - diff --git a/TIZEN/Tizen/Tizen-Base-Toolchain/project_config b/TIZEN/Tizen/Tizen-Base-Toolchain/project_config index 130bcbc..71038df 100644 --- a/TIZEN/Tizen/Tizen-Base-Toolchain/project_config +++ b/TIZEN/Tizen/Tizen-Base-Toolchain/project_config @@ -254,23 +254,12 @@ Substitute: libgcc_s1-32bit libgcc-32bit Substitute: glibc-devel-32bit %endif -%ifarch aarch64 -Macros: -%_lto_flag -fvisibility=hidden -flto -%lto_incompatible_pkgs alsa-lib autogen binuils binutils-armv7hl binutils-armv7l binutils-riscv64 bzip2 ccache cmake db4 doxygen e2fsprogs elfutils expect fribidi gcc gcc-armv7hl gcc-armv7l gcc-riscv64 gettext glibc gn guile help2man iproute2 iptables itstool keyutils krb5 libcap libevent libjpeg-turbo libnl2 libnl3 libsigc++ libsndfile libunistring libunwind libwebp libxml2 libxslt llvm lttng-ust lua mtdev ncurses net-tools nghttp2 ninja nss openfst openssl openssl1.1 openssl3 pam perl perl-DBD-SQLite popt python python3 python3-base smack texinfo userspace-rcu util-linux xmlsec1 xz zlib zstd -:Macros -%define _lto_flag -fvisibility=hidden -flto - -%define _lto_flag_enable %{lua:if (nil == string.find(" " .. rpm.expand("%lto_incompatible_pkgs") .. " "," " .. rpm.expand("%name") .. " ", 1, true)) then print(rpm.expand("%_lto_flag")) end} -%endif - - ########## compilation flags ########## %define __global_cflags -O2 -g2 -gdwarf-4 -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 -D_FILE_OFFSET_BITS=64 Optflags: armv7hl %{__global_cflags} --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -Optflags: aarch64 %{__global_cflags} -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 %{?_lto_flag_enable} +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 -mstackrealign -Wl,-z,noseparate-code 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 Optflags: riscv64 %{__global_cflags} -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc diff --git a/TIZEN/Tizen/Tizen-Base-Toolchain/project_meta b/TIZEN/Tizen/Tizen-Base-Toolchain/project_meta index 3e2502f..e8368f2 100644 --- a/TIZEN/Tizen/Tizen-Base-Toolchain/project_meta +++ b/TIZEN/Tizen/Tizen-Base-Toolchain/project_meta @@ -3,6 +3,7 @@ +