mirror of
https://github.com/motioneye-project/motioneyeos.git
synced 2025-07-28 05:36:32 +00:00
package/gnuradio: include TARGET_CFLAGS to the overloaded CFLAGS
Signed-off-by: Samuel Martin <s.martin49@gmail.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
b353ce1315
commit
1255d0080c
@ -36,7 +36,7 @@ GNURADIO_INSTALL_STAGING = YES
|
|||||||
# CFLAGS to decide whether to build the NEON functions or not, and
|
# CFLAGS to decide whether to build the NEON functions or not, and
|
||||||
# wants to see the string 'armv7' in the CFLAGS.
|
# wants to see the string 'armv7' in the CFLAGS.
|
||||||
ifeq ($(BR2_ARM_CPU_ARMV7A)$(BR2_ARM_CPU_HAS_NEON),yy)
|
ifeq ($(BR2_ARM_CPU_ARMV7A)$(BR2_ARM_CPU_HAS_NEON),yy)
|
||||||
GNURADIO_CONF_OPTS += -DCMAKE_C_FLAGS="-march=armv7-a"
|
GNURADIO_CONF_OPTS += -DCMAKE_C_FLAGS="$(TARGET_CFLAGS) -march=armv7-a"
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# As soon as -mfpu=neon is supported by the compiler, gnuradio will try
|
# As soon as -mfpu=neon is supported by the compiler, gnuradio will try
|
||||||
|
Loading…
x
Reference in New Issue
Block a user