Skip to content
Snippets Groups Projects
Commit 07c897e5 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Clean up gcc line

parent 18c67018
No related branches found
No related tags found
No related merge requests found
...@@ -14,17 +14,18 @@ clean: ...@@ -14,17 +14,18 @@ clean:
run: $(BINS) run: $(BINS)
for bin in $(BINS); do echo "\\033[1m$${bin}\\033[0m"; ./$${bin} test args; done for bin in $(BINS); do echo "\\033[1m$${bin}\\033[0m"; ./$${bin} test args; done
GCCHEAD=\
-nostdinc \
-nostdlib \
-I ../include \
-I ../target/include \
-I ../openlibm/include \
-I ../openlibm/src \
../target/debug/libcrt0.a
GCCTAIL=\
../target/debug/libc.a \
../openlibm/libopenlibm.a
%: %.c %: %.c
gcc \ gcc -fno-stack-protector $(GCCHEAD) $< $(GCCTAIL) -o $@
-fno-stack-protector \
-nostdinc \
-nostdlib \
-I ../include \
-I ../target/include \
-I ../openlibm/include \
-I ../openlibm/src \
../target/debug/libcrt0.a \
$< \
../target/debug/libc.a \
../openlibm/libopenlibm.a \
-o $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment