+++ /dev/null
-<aggregatelist>
- <aggregate project_url="https://download.tizen.org/snapshots/TIZEN/Tizen/Tizen-Base-Toolchain/reference/">
- <binary>autogen</binary>
- <binary>guile</binary>
- <binary>help2man</binary>
- <binary>itstool</binary>
- <binary>libsndfile</binary>
- <binary>lua</binary>
- <binary>nghttp2</binary>
- <binary>nss</binary>
- <binary>pam</binary>
- <binary>perl-DBD-SQLite</binary>
- <binary>python</binary>
- <binary>python3-base</binary>
- <binary>python3</binary>
- <repository source="standard" target="standard"/>
- </aggregate>
-</aggregatelist>
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