aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 7a0752e58..bf42e585c 100644
--- a/Makefile
+++ b/Makefile
@@ -68,7 +68,8 @@ ifndef $(STRIPTOOL)
68 STRIPTOOL = strip 68 STRIPTOOL = strip
69endif 69endif
70 70
71#also to try -- use --prefix=/usr/my-libc2.0.7-stuff 71# TODO: Try compiling vs other libcs. See what -nostdinc and -nostdlib do for that.
72# also try --prefix=/usr/my-libc-stuff
72 73
73# -D_GNU_SOURCE is needed because environ is used in init.c 74# -D_GNU_SOURCE is needed because environ is used in init.c
74ifeq ($(DODEBUG),true) 75ifeq ($(DODEBUG),true)
@@ -78,8 +79,6 @@ ifeq ($(DODEBUG),true)
78else 79else
79 CFLAGS += -Wall $(OPTIMIZATION) -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE 80 CFLAGS += -Wall $(OPTIMIZATION) -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE
80 LDFLAGS = -s 81 LDFLAGS = -s
81 #CFLAGS += -nostdinc -I/home/andersen/apps/newlib/src/newlib/libc/include -Wall $(OPTIMIZATION) -fomit-frame-pointer -fno-builtin -D_GNU_SOURCE
82 #LDFLAGS = -nostdlib -s -L/home/andersen/apps/newlib/src/newlib/libc.a
83 STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment $(PROG) 82 STRIP = $(STRIPTOOL) --remove-section=.note --remove-section=.comment $(PROG)
84 #Only staticly link when _not_ debugging 83 #Only staticly link when _not_ debugging
85 ifeq ($(DOSTATIC),true) 84 ifeq ($(DOSTATIC),true)