compiler flag updated: -fno-plt removed

This commit is contained in:
Nicolas 2025-10-31 19:27:40 +01:00
parent 926bb9f85f
commit ca5b34fab8
3 changed files with 6 additions and 6 deletions

View File

@ -7,10 +7,10 @@ DEST=src/copapy/obj
python3 stencils/generate_stencils.py $SRC
mkdir -p $DEST
gcc --version
#gcc -fno-pic -fno-plt -c $SRC -O0 -o $DEST/stencils_x86_64_O0.o
#gcc -fno-pic -fno-plt -c $SRC -O1 -o $DEST/stencils_x86_64_O1.o
#gcc -fno-pic -fno-plt -c $SRC -O2 -o $DEST/stencils_x86_64_O2.o
gcc -fno-pic -fno-plt -c $SRC -O3 -o $DEST/stencils_x86_64_O3.o
#gcc -fno-pic -c $SRC -O0 -o $DEST/stencils_x86_64_O0.o
#gcc -fno-pic -c $SRC -O1 -o $DEST/stencils_x86_64_O1.o
#gcc -fno-pic -c $SRC -O2 -o $DEST/stencils_x86_64_O2.o
gcc -fno-pic -c $SRC -O3 -o $DEST/stencils_x86_64_O3.o
mkdir bin -p
gcc -Wall -Wextra -Wconversion -Wsign-conversion \

View File

@ -7,7 +7,7 @@ mkdir -p bin
SRC=bin/stencils.c
DEST=src/copapy/obj
OPT=O3
FLAGS="-fno-pic -fno-plt"
FLAGS="-fno-pic"
mkdir -p $DEST

View File

@ -5,7 +5,7 @@ set -v
mkdir -p bin
SRC=bin/stencils.c
DEST=src/copapy/obj
FLAGS="-fno-pic -fno-plt"
FLAGS="-fno-pic"
python stencils/generate_stencils.py $SRC