Permalink
Browse files

no longer need libraries in LDFLAGS to build C apps

  • Loading branch information...
1 parent 07901eb commit 0420fbfa14727c98abc67efbbb4c1d73f54284da @wolfwood wolfwood committed Oct 14, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 app/c/hello/Makefile
  2. +1 −1 app/c/simplymm/Makefile
@@ -1,5 +1,5 @@
# ordering is important! drt0 depends on syscall and mindrt, syscall depends on mindrt
-LDFLAGS=-L../../../user/c/lib -L../../../runtimes/mindrt -l:drt0.a -l:syscall.a -l:mindrt.a
+#LDFLAGS=-L../../../user/c/lib -L../../../runtimes/mindrt -l:drt0.a -l:syscall.a -l:mindrt.a
all:
x86_64-pc-xomb-gcc -T../../build/elf.ld -o chel -static hello.c ${LDFLAGS}
cp chel ../../../build/root/binaries
@@ -1,5 +1,5 @@
CC = x86_64-pc-xomb-gcc
-LDFLAGS=-L../../../user/c/lib -L../../../runtimes/mindrt -l:drt0.a -l:syscall.a -l:mindrt.a
+#LDFLAGS=-L../../../user/c/lib -L../../../runtimes/mindrt -l:drt0.a -l:syscall.a -l:mindrt.a
all: clean
$(CC) -O2 -T../../build/elf.ld -o simplymm -static simplymm.c ${LDFLAGS}

0 comments on commit 0420fbf

Please sign in to comment.