summaryrefslogtreecommitdiff
path: root/test/silly
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-23 15:26:01 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-23 15:26:01 +0000
commit3a1706486f3c47fd6634b5f2c1bf088d7cf6c2eb (patch)
treec5586c62bea57d33de858933770618b6d6d0a7c1 /test/silly
parent99174a66b525d6e22197cb2ab22d6e78bd8ae856 (diff)
Link w libcc.
Diffstat (limited to 'test/silly')
-rw-r--r--test/silly/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/silly/Makefile b/test/silly/Makefile
index b0942caf1..7d8579715 100644
--- a/test/silly/Makefile
+++ b/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)