From 8d31e095a44797929c62e5745675d894da6f8783 Mon Sep 17 00:00:00 2001 From: Florian Fainelli Date: Tue, 20 May 2014 04:51:24 +0000 Subject: [PATCH] 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 Signed-off-by: Florian Fainelli SVN-Revision: 40787 --- sound/empcd/patches/001-Makefile_use_VFP_CFLAGS.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 sound/empcd/patches/001-Makefile_use_VFP_CFLAGS.patch diff --git a/sound/empcd/patches/001-Makefile_use_VFP_CFLAGS.patch b/sound/empcd/patches/001-Makefile_use_VFP_CFLAGS.patch new file mode 100644 index 0000000000..3cfded9db0 --- /dev/null +++ b/sound/empcd/patches/001-Makefile_use_VFP_CFLAGS.patch @@ -0,0 +1,11 @@ +--- 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 -- 2.30.2