From 7369d5101725641aba834319d4c2c019d09574ea Mon Sep 17 00:00:00 2001 From: Neiviv-ui Date: Tue, 22 Jun 2021 22:17:17 +0200 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'configure.sh'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- configure.sh | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/configure.sh b/configure.sh index a9f75e9..ce5ca5d 100755 --- a/configure.sh +++ b/configure.sh @@ -115,14 +115,6 @@ mkdir build PREFIX="$(pwd)" cd build -# Since the __ANDROID_API__ flag is hardcoded as 24 in clang, and -# doesn't prototype some functions when this flag is too low, fixes it's -# version by checking system's properties so as to prevent from missing prototypes -# of existing functions such as fgets_unlocked (only if API >= 28) -# See the following issues : -# * https://github.com/termux/termux-packages/issues/6176 -# * https://github.com/termux/termux-packages/issues/2469 - echo "$TAG Configuring binutils..." if command -v termux-setup-storage >/dev/null 2>&1; then @@ -134,9 +126,10 @@ if command -v termux-setup-storage >/dev/null 2>&1; then # * https://github.com/termux/termux-packages/issues/6176 # * https://github.com/termux/termux-packages/issues/2469 - export CFLAGS="-D__ANDROID_API__=$(getprop ro.build.version.sdk) -g -O2" \ - CXXFLAGS="-D__ANDROID_API__=$(getprop ro.build.version.sdk) -g -O2" + export \ + CFLAGS = "-D__ANDROID_API__=$(getprop ro.build.version.sdk) -g -O2" \ + CXXFLAGS = "-D__ANDROID_API__=$(getprop ro.build.version.sdk) -g -O2" fi run_quietly giteapc-configure.log \ -../binutils-$VERSION/configure --prefix="$PREFIX" --target=sh3eb-elf --with-multilib-list=m3,m4-nofpu --program-prefix=sh-elf- --enable-libssp --enable-lto +../binutils-$VERSION/configure --prefix="$PREFIX" --target=sh3eb-elf --with-multilib-list=m3,m4-nofpu --program-prefix=sh-elf- --enable-libssp --enable-lto \ No newline at end of file