aboutsummaryrefslogtreecommitdiffstats
path: root/lang/dmd/files/patch-src-dmd-posix.mak
diff options
context:
space:
mode:
Diffstat (limited to 'lang/dmd/files/patch-src-dmd-posix.mak')
-rw-r--r--lang/dmd/files/patch-src-dmd-posix.mak38
1 files changed, 5 insertions, 33 deletions
diff --git a/lang/dmd/files/patch-src-dmd-posix.mak b/lang/dmd/files/patch-src-dmd-posix.mak
index 63b364d3c071..4cb15ff22a73 100644
--- a/lang/dmd/files/patch-src-dmd-posix.mak
+++ b/lang/dmd/files/patch-src-dmd-posix.mak
@@ -1,38 +1,10 @@
---- ../../src/dmd/posix.mak.orig 2012-04-10 22:34:58.000000000 -0700
-+++ ../../src/dmd/posix.mak 2012-04-14 23:37:37.562325386 -0700
-@@ -29,8 +29,6 @@
+--- ../../src/dmd/posix.mak.orig 2012-12-31 12:16:46.000000000 -0800
++++ ../../src/dmd/posix.mak 2013-01-30 16:20:15.160587655 -0800
+@@ -49,7 +49,6 @@
TK=tk
ROOT=root
-MODEL=32
--
- ifeq (OSX,$(TARGET))
- ## See: http://developer.apple.com/documentation/developertools/conceptual/cross_development/Using/chapter_3_section_2.html#//apple_ref/doc/uid/20002000-1114311-BABGCAAB
- ENVP= MACOSX_DEPLOYMENT_TARGET=10.3
-@@ -48,7 +46,7 @@
+ ifneq (x,x$(MODEL))
+ MODEL_FLAG=-m$(MODEL)
endif
-
- HOST_CC=g++
--CC=$(HOST_CC) -m$(MODEL) $(TARGET_CFLAGS)
-+CC=$(HOST_CC) $(TARGET_CFLAGS)
-
- #OPT=-g -g3
- #OPT=-O2
-@@ -144,7 +142,7 @@
- all: dmd
-
- dmd: $(DMD_OBJS)
-- $(ENVP) $(HOST_CC) -o dmd -m$(MODEL) $(COV) $(DMD_OBJS) $(LDFLAGS)
-+ $(ENVP) $(HOST_CC) -o dmd $(COV) $(DMD_OBJS) $(LDFLAGS)
-
- clean:
- rm -f $(DMD_OBJS) dmd optab.o id.o impcnvgen idgen id.c id.h \
-@@ -523,7 +521,7 @@
- $(CC) -c $(GFLAGS) -I$(ROOT) $<
-
- strtold.o: $C/strtold.c
-- gcc -m$(MODEL) -I$(ROOT) -c $<
-+ gcc -I$(ROOT) -c $<
-
- struct.o: struct.c
- $(CC) -c $(CFLAGS) $<