Skip to content

Commit

Permalink
Enable ARM NEON to fix build errors
Browse files Browse the repository at this point in the history
This fixes compiler error when NEON intrinsics are used. This started
appearing with libpng updates from Buildroot, but it should have been
enabled anyway.
  • Loading branch information
fhunleth committed Nov 21, 2024
1 parent 9493d2c commit 0c3decc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ defmodule NervesSystemRpi3.MixProject do
{"TARGET_OS", "linux"},
{"TARGET_ABI", "gnueabihf"},
{"TARGET_GCC_FLAGS",
"-mabi=aapcs-linux -mfpu=fp-armv8 -marm -fstack-protector-strong -mfloat-abi=hard -mcpu=cortex-a53 -fPIE -pie -Wl,-z,now -Wl,-z,relro"}
"-mabi=aapcs-linux -mfpu=neon-fp-armv8 -marm -fstack-protector-strong -mfloat-abi=hard -mcpu=cortex-a53 -fPIE -pie -Wl,-z,now -Wl,-z,relro"}
],
checksum: package_files()
]
Expand Down
1 change: 1 addition & 0 deletions nerves_defconfig
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
BR2_arm=y
BR2_cortex_a53=y
BR2_ARM_FPU_NEON_FP_ARMV8=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
Expand Down

0 comments on commit 0c3decc

Please sign in to comment.