mirror of
https://github.com/godotengine/buildroot.git
synced 2026-01-05 14:09:53 +03: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 adding --disable-native to FIO_OPTS. Signed-off-by: Jens Maus <mail@jens-maus.de> Signed-off-by: Arnout Vandecappelle <arnout@mind.be> (cherry picked from commit 056958724b8c7581aff2bc022841c1ca6db1e590) Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
committed by
Peter Korsgaard
parent
20ffaad8b6
commit
bfcc79b2ae
@@ -9,7 +9,7 @@ FIO_SITE = http://brick.kernel.dk/snaps
|
||||
FIO_LICENSE = GPL-2.0
|
||||
FIO_LICENSE_FILES = COPYING MORAL-LICENSE
|
||||
|
||||
FIO_OPTS = --cc="$(TARGET_CC)" --extra-cflags="$(TARGET_CFLAGS)"
|
||||
FIO_OPTS = --disable-native --cc="$(TARGET_CC)" --extra-cflags="$(TARGET_CFLAGS)"
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBAIO),y)
|
||||
FIO_DEPENDENCIES += libaio
|
||||
|
||||
Reference in New Issue
Block a user