summaryrefslogtreecommitdiff
path: root/make/newt.mk
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-01-18 22:39:31 +0000
committerEric Andersen <andersen@codepoet.org>2003-01-18 22:39:31 +0000
commit075633e2ca00434f723afc49e1fece21b0676726 (patch)
tree968b3b1afd08f7f27be9becc49c8fab38e8155f5 /make/newt.mk
parent54e098e40b933ccaa2047ad7e4693cc013c9f95d (diff)
A few cflags and comment fixups
Diffstat (limited to 'make/newt.mk')
-rw-r--r--make/newt.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/make/newt.mk b/make/newt.mk
index 56fba9ea0..ac0c3a1cf 100644
--- a/make/newt.mk
+++ b/make/newt.mk
@@ -8,10 +8,11 @@ NEWT_SITE=http://ftp.debian.org/debian/pool/main/n/newt
NEWT_DIR=$(BUILD_DIR)/newt-0.50.17
NEWT_PATCH=$(SOURCE_DIR)/newt.patch
ifeq ($(strip $(BUILD_WITH_LARGEFILE)),true)
-NEWT_CFLAGS="-Os -g -fPIC -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64"
+NEWT_CFLAGS="-Os -g -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
else
-NEWT_CFLAGS="-Os -g -fPIC"
+NEWT_CFLAGS="-Os -g"
endif
+NEWT_CFLAGS+="-fPIC"
$(DL_DIR)/$(NEWT_SOURCE):
$(WGET) -P $(DL_DIR) $(NEWT_SITE)/$(NEWT_SOURCE)