Commit 23d3c631 authored by John van Groningen's avatar John van Groningen
Browse files

in clean-classic for linux-x86 call gcc with -fno-pic

parent 8194d1f9
Pipeline #51371 passed with stage
in 17 minutes and 31 seconds
......@@ -33,9 +33,10 @@ mkdir -p clean/man/man1
cp clm/clm.1 clean/man/man1
mkdir -p clean/data/ArgEnv
for f in ArgEnvC.c ArgEnv.dcl printenv.icl ArgEnv.icl Makefile README ; do
for f in ArgEnvC.c ArgEnv.dcl printenv.icl ArgEnv.icl README ; do
cp "clean-libraries/Libraries/ArgEnvUnix/$f" "clean/data/ArgEnv/$f"
cp "clean-libraries/Libraries/ArgEnvUnix/Makefile_no_pic" "clean/data/ArgEnv/Makefile"
mkdir -p clean/data/Generics
cp clean-libraries/Libraries/GenLib/*.[id]cl clean/data/Generics/
......@@ -4,7 +4,7 @@ cp -R --preserve=timestamps svn/clean-tools/htoclean .
mkdir -p clean-libraries
mv git/clean-libraries/* clean-libraries
( cd clean-libraries/Libraries/ArgEnvUnix ; make -f Makefile ArgEnvC.o )
( cd clean-libraries/Libraries/ArgEnvUnix ; make -f Makefile_no_pic ArgEnvC.o )
cd htoclean/htoclean\ source\ code
clm -I unix -I ../../clean-libraries/Libraries/ArgEnvUnix -h 4m -nt -nr htoclean -o htoclean
......@@ -13,7 +13,7 @@ mkdir clean-platform
mv git/clean-platform/* clean-platform/
cp htoclean/Clean.h "clean-libraries/Libraries/Directory/Clean System Files Unix/Clean.h"
(cd "clean-libraries/Libraries/Directory/Clean System Files Unix"; gcc -c -O cDirectory.c)
(cd "clean-libraries/Libraries/Directory/Clean System Files Unix"; gcc -fno-pic -c -O cDirectory.c)
cp htoclean/Clean.h "clean-libraries/Libraries/TCPIP/Linux_C/Clean.h"
(cd "clean-libraries/Libraries/TCPIP/Linux_C"; gcc -c -O cTCP_121.c)
......@@ -6,9 +6,9 @@ mv git/run-time-system/* run-time-system
cd run-time-system
chmod +x ./remove_tmp_files_linux
make -f Makefile.linux
make -f Makefile.linux32_no_pic
make -f Makefileprofile.linux
make -f Makefileprofile.linux32_no_pic
make -f Makefiletrace.linux
make -f Makefiletrace.linux32_no_pic
cd ..
......@@ -19,5 +19,6 @@ tar -xzf boot_clean.tgz
mv clean boot_compiler
cd boot_compiler
sed -e "s/gcc/gcc -fno-pic/" -i data/ArgEnv/Makefile
cd ..
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment