mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-08-03 16:37:43 +00:00
Revert "lmbench: fix build for xtensa"
This reverts commit 7c04932603476f3adf474f3bc47c35bdb59d947a. Now that -mtext-section-literals is specified in the xtensa ABI this fix is no longer needed. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
5a2ff09b8c
commit
0a91ba9881
@ -19,10 +19,6 @@ LMBENCH_CFLAGS += -I$(STAGING_DIR)/usr/include/tirpc/
|
|||||||
LMBENCH_LDFLAGS += -ltirpc
|
LMBENCH_LDFLAGS += -ltirpc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(BR2_xtensa),y)
|
|
||||||
LMBENCH_CFLAGS += -mtext-section-literals
|
|
||||||
endif
|
|
||||||
|
|
||||||
define LMBENCH_CONFIGURE_CMDS
|
define LMBENCH_CONFIGURE_CMDS
|
||||||
$(call CONFIG_UPDATE,$(@D))
|
$(call CONFIG_UPDATE,$(@D))
|
||||||
sed -i 's/CFLAGS=/CFLAGS+=/g' $(@D)/src/Makefile
|
sed -i 's/CFLAGS=/CFLAGS+=/g' $(@D)/src/Makefile
|
||||||
|
Loading…
x
Reference in New Issue
Block a user