mirror of
http://git.openwrt.org/packages.git
synced 2025-01-08 11:57:34 +08:00
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> git-svn-id: svn://svn.openwrt.org/openwrt/packages@40787 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
27f5e8119b
commit
eb3a4ae50a
11
sound/empcd/patches/001-Makefile_use_VFP_CFLAGS.patch
Normal file
11
sound/empcd/patches/001-Makefile_use_VFP_CFLAGS.patch
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user