summaryrefslogtreecommitdiff
path: root/package/imx-lib/patches/patch-hdmi-cec_Makefile
blob: ba404e621cdf08d01a87352b0af191d33160e344 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- imx-lib-3.10.53-1.1.0.orig/hdmi-cec/Makefile	2014-12-23 03:34:05.000000000 -0600
+++ imx-lib-3.10.53-1.1.0/hdmi-cec/Makefile	2015-03-08 13:57:44.305700918 -0500
@@ -33,7 +33,7 @@ all install :
 endif
 
 %.o: %.c
-	$(CC) -D$(PLATFORM) -Wall -fPIC $(CFLAGS) -c $^ -o $@
+	$(CC) -D$(PLATFORM) $(CPPFLAGS) $(CFLAGS) -fPIC -c $^ -o $@
 
 $(LIBNAME).so.$(SONAMEVERSION): $(OBJ)
 	$(CC) -shared -nostartfiles -Wl,-soname,$@ $^ -o $@ $(LDFLAGS)