mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-30 22:11:59 -09:00
package/fio: remove -march=native
Per default, the fio package uses the "-march=native" GCC option. This
is of course wildly inappropriate for cross-compilation and can result
in illegal instructions. Thus we make sure fio will not use that
compiler option by passing --disable-native to configure.
Signed-off-by: Jens Maus <mail@jens-maus.de>
Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
(cherry picked from commit 056958724b)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
b362115b25
commit
395d92503c
@@ -26,7 +26,8 @@ FIO_DEPENDENCIES += zlib
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
define FIO_CONFIGURE_CMDS
|
define FIO_CONFIGURE_CMDS
|
||||||
(cd $(@D); $(TARGET_MAKE_ENV) ./configure --cc="$(TARGET_CC)" --extra-cflags="$(TARGET_CFLAGS)")
|
(cd $(@D); $(TARGET_MAKE_ENV) ./configure --disable-native \
|
||||||
|
--cc="$(TARGET_CC)" --extra-cflags="$(TARGET_CFLAGS)")
|
||||||
endef
|
endef
|
||||||
|
|
||||||
define FIO_BUILD_CMDS
|
define FIO_BUILD_CMDS
|
||||||
|
|||||||
Reference in New Issue
Block a user