summaryrefslogtreecommitdiff
path: root/GNUmakefile
diff options
context:
space:
mode:
Diffstat (limited to 'GNUmakefile')
-rw-r--r--GNUmakefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/GNUmakefile b/GNUmakefile
index 75eb2d6..a685d22 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -58,11 +58,6 @@ GETOPT =
# glob is in libc too.
GLOB =
-CPPFLAGS := $(CPPFLAGS) \
- -DSTDC_HEADERS -DHAVE_UNISTD_H -DHAVE_GLOB_H \
- -DHAVE_GETDTABLESIZE -DHAVE_SYS_SIGLIST -DHAVE_DUP2 \
- -DHAVE_GETCWD -DHAVE_SIGSETMASK -DHAVE_GETGROUPS -DHAVE_SETLINEBUF
-
else
globdep = glob/libglob.a
@@ -90,7 +85,7 @@ $(archpfx)remote.o: remote.c
$(archpfx)remote.dep: remote.c
$(mkdep) $(REMOTE) $< | sed 's,$*\.o,& $@,' > $@
-CPPFLAGS := $(CPPFLAGS) $(filter-out @%@,$(defines))
+CPPFLAGS := -I$(ARCH) $(CPPFLAGS) $(filter-out @%@,$(defines))
ifneq "$(wildcard $(ARCH)/makefile)" ""
include $(ARCH)/makefile