opnsense-ports/sysutils/syslinux/files/patch-com32-lib-Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

17 lines
630 B
Text

--- com32/lib/Makefile.orig 2012-08-16 10:07:43.054505830 +0200
+++ com32/lib/Makefile 2012-08-16 10:08:00.669820080 +0200
@@ -183,12 +183,12 @@
# These files are performance critical, and doesn't compile well with -Os
sys/vesa/drawtxt.o: sys/vesa/drawtxt.c
- $(CC) $(MAKEDEPS) $(CFLAGS) -O3 -c -o $@ $<
+ $(CC) $(MAKEDEPS) $(filter-out -std=gnu99, $(CFLAGS)) -O3 -c -o $@ $<
sys/vesa/alphatbl.c: sys/vesa/alphatbl.pl
$(PERL) $< > $@
jpeg/jidctflt.o: jpeg/jidctflt.c
- $(CC) $(MAKEDEPS) $(CFLAGS) -O3 -c -o $@ $<
+ $(CC) $(MAKEDEPS) $(filter-out -std=gnu99, $(CFLAGS)) -O3 -c -o $@ $<
-include .*.d */.*.d */*/.*.d