mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-08-09 17:03:35 -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
b57090af18
commit
d741d59342
@@ -26,7 +26,8 @@ FIO_DEPENDENCIES += zlib
|
||||
endif
|
||||
|
||||
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
|
||||
|
||||
define FIO_BUILD_CMDS
|
||||
|
||||
Reference in New Issue
Block a user