diff --git a/src/stub/Makefile b/src/stub/Makefile index a6aad042..1f7aefad 100644 --- a/src/stub/Makefile +++ b/src/stub/Makefile @@ -111,7 +111,7 @@ tc.default.nasm += -I$(srcdir)/ -I$(srcdir)/src/ tc.default.nasm += -O99 -w+macro-params -w+macro-selfref -w+number-overflow -w+orphan-labels tc.default.pp-asm = i386-linux-gcc-2.95.3 -E -nostdinc -x assembler-with-cpp -Wall -Wp,-P,-C,-traditional tc.default.pp-nasm = $(tc.default.gpp_inc) --mode=nasm -I$(srcdir)/ -I$(srcdir)/src/ -tc.default.stripelf = i386-linux-sstrip +tc.default.stripelf = sstrip # some common settings for $(tc_list) tc.i086.app-nasm = perl -w $(srcdir)/src/arch/i086/app-nasm.pl diff --git a/src/stub/util/sstrip/Makefile b/src/stub/util/sstrip/Makefile index 0c661d2c..0511895a 100644 --- a/src/stub/util/sstrip/Makefile +++ b/src/stub/util/sstrip/Makefile @@ -3,8 +3,11 @@ SHELL = /bin/sh ##all: amd64-linux-sstrip -all: i386-linux-sstrip +##all: i386-linux-sstrip +all: sstrip +sstrip: sstrip.c + gcc -O2 -g -Wall -W -o $@ $< amd64-linux-sstrip: sstrip.c gcc -m64 -O2 -g -Wall -W -o $@ $< i386-linux-sstrip: sstrip.c