package/xxhash: use MOREFLAGS instead of overriding CFLAGS
Set MOREFLAGS instead of overriding CFLAGS to avoid the following build
failure raised since commit 94b66fb49c
:
/home/autobuild/autobuild/instance-6/output-1/host/lib/gcc/x86_64-buildroot-linux-uclibc/11.3.0/../../../../x86_64-buildroot-linux-uclibc/bin/ld: /tmp/ccabb8cF.o: relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
Fixes:
- http://autobuild.buildroot.org/results/953133575d8c13266f1450fa545e70e4a518508d
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
78e3637dd2
commit
bfef88762d
@ -28,8 +28,7 @@ endif
|
||||
|
||||
define XXHASH_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) $(MAKE) -C $(@D) \
|
||||
CFLAGS="$(TARGET_CFLAGS) -DXXH_NO_INLINE_HINTS" \
|
||||
$(XXHASH_TARGETS)
|
||||
MOREFLAGS=-DXXH_NO_INLINE_HINTS $(XXHASH_TARGETS)
|
||||
endef
|
||||
|
||||
define XXHASH_INSTALL_STAGING_CMDS
|
||||
|
Loading…
Reference in New Issue
Block a user