diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-09-14 17:21:39 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-09-14 17:21:39 +0200 |
commit | 0eb3f28ec1faf8dc35d2f47fd982838af4d89d77 (patch) | |
tree | c06a4c27e1cdb1ff03caff8e8d9f339e07c46bf5 | |
parent | 58d6d07fe2b423c76737baeecb8424dbc93c37e1 (diff) | |
download | compilertests-0eb3f28ec1faf8dc35d2f47fd982838af4d89d77.tar.gz compilertests-0eb3f28ec1faf8dc35d2f47fd982838af4d89d77.tar.bz2 |
build.sh: make gcc builds happy and use PIC
-rwxr-xr-x | ecomp-c/build.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ecomp-c/build.sh b/ecomp-c/build.sh index e4d41ec..46ef894 100755 --- a/ecomp-c/build.sh +++ b/ecomp-c/build.sh @@ -55,7 +55,7 @@ esac case "${COMPILER}:${MODE}" in gcc:freestanding) - CFLAGS+=" -ffreestanding -fno-stack-protector -nostdlib -emain -fno-pic -fno-omit-frame-pointer" + CFLAGS+=" -ffreestanding -fno-stack-protector -nostdlib -emain -fno-omit-frame-pointer" ;; clang:freestanding) CFLAGS+=" -ffreestanding -fno-stack-protector -nostdlib -Wl,-emain -fno-omit-frame-pointer" |