summaryrefslogtreecommitdiff
path: root/sysutils/syslinux/files/patch-com32-lib-Makefile
blob: ebdb757d8483c8fa2accb8ca3ce5f2862e95c3cd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- 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