Browse Source

Link w libcc.

Eric Andersen 23 years ago
parent
commit
3a1706486f
1 changed files with 3 additions and 1 deletions
  1. 3 1
      test/silly/Makefile

+ 3 - 1
test/silly/Makefile

@@ -5,13 +5,15 @@ include $(TOPDIR)Rules.mak
 LSFLAGS = $(shell if ls -sh >/dev/null 2>&1; \
     then echo "-sh"; else echo "-s" ; fi)
 
-XCFLAGS = -Wall -Os -fomit-frame-pointer -fno-builtin -nostdinc \
+#XCFLAGS = -Wall -Os -fomit-frame-pointer -fno-builtin -nostdinc \
+XCFLAGS = -Wall -Os -fomit-frame-pointer -nostdinc \
 	-I$(TOPDIR)include -I/usr/include/linux
 XLDFLAGS = -nostdlib -s -gc-sections
 EXTRA_LIBS=$(TOPDIR)libc.a
 
 YCFLAGS = -Wall -Os -fomit-frame-pointer
 YLDFLAGS = -s --static 
+LDFLAGS += -fpic -gcc
 
 # Allow alternative stripping tools to be used...
 ifndef $(STRIPTOOL)