diff options
Diffstat (limited to 'dev-lang/icon/files/icon-9.4.99_p20090302-flags.patch')
-rw-r--r-- | dev-lang/icon/files/icon-9.4.99_p20090302-flags.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/dev-lang/icon/files/icon-9.4.99_p20090302-flags.patch b/dev-lang/icon/files/icon-9.4.99_p20090302-flags.patch new file mode 100644 index 0000000..e4988c2 --- /dev/null +++ b/dev-lang/icon/files/icon-9.4.99_p20090302-flags.patch @@ -0,0 +1,40 @@ +--- icon.v9.4.99_p20090302src/src/common/Makefile ++++ icon.v9.4.99_p20090302src/src/common/Makefile +@@ -8,7 +8,7 @@ + common: doincl $(OBJS) gpxmaybe + + doincl: doincl.c ../h/arch.h +- $(CC) $(CFLAGS) -o doincl doincl.c ++ $(CC) $(CFLAGS) $(LDFLAGS) -o doincl doincl.c + -./doincl -o ../../bin/rt.h ../h/rt.h + + patchstr: patchstr.c +@@ -29,7 +29,7 @@ + ../h/typedefs.h ../h/mproto.h ../h/cpuconf.h + + ../h/arch.h: infer.c +- $(CC) $(CFLAGS) -o infer infer.c ++ $(CC) $(CFLAGS) $(LDFLAGS) -o infer infer.c + ./infer >../h/arch.h + + identify.o: ../h/version.h +@@ -46,7 +46,7 @@ + + # for rswitch, $(CFLAGS) is deliberately omitted (-O may cause problems) + rswitch.o: ../h/define.h ../h/arch.h $(RSW) +- $(CC) -c $(RSW) ++ $(CC) $(CFLAGS) -O0 -c $(RSW) + + + # The following section is needed if changes are made to the Icon grammar, +--- icon.v9.4.99_p20090302src/src/runtime/Makefile ++++ icon.v9.4.99_p20090302src/src/runtime/Makefile +@@ -39,7 +39,7 @@ + + iconx: $(OBJS) + cd ../common; $(MAKE) +- $(CC) $(RLINK) -o iconx $(OBJS) $(XL) $(RLIBS) $(TL) ++ $(CC) $(LDFLAGS) $(RLINK) -o iconx $(OBJS) $(XL) $(RLIBS) $(TL) + cp iconx ../../bin + strip $(SFLAGS) ../../bin/iconx$(EXE) + |