openwrt_archive/sound/empcd/patches/001-Makefile_use_VFP_CFLAGS.patch
Florian Fainelli 8d31e095a4 empdcd: fix compile on platforms with VFP
on platforms with VFP/hardfloat ld fails with:
empcd uses VFP register arguments, empcd.o does not
empcd uses VFP register arguments, keyeventtable.o does not
empcd uses VFP register arguments, support/mpc-0.12.2/src/libmpdclient.o does not

append to CFLAGS instead of overwrite

Signed-off-by: Dirk Neukirchen <dirkneukirchen@web.de>
Signed-off-by: Florian Fainelli <florian@openwrt.org>

SVN-Revision: 40787
2014-05-20 04:51:24 +00:00

12 lines
341 B
Diff

--- a/Makefile
+++ b/Makefile
@@ -17,7 +17,7 @@ DEPS = Makefile
OBJS = empcd.o keyeventtable.o support/mpc-0.12.2/src/libmpdclient.o
WARNS = -W -Wall -pedantic -Wno-format -Wno-unused -Wno-long-long
EXTRA = -g3
-CFLAGS = $(WARNS) $(EXTRA) -D_GNU_SOURCE
+CFLAGS += $(WARNS) $(EXTRA) -D_GNU_SOURCE
LDFLAGS =
CC = gcc
RM = rm