From 7a15de116847795e800251b6a5c2016442a9df86 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Sun, 15 Apr 2018 23:57:59 +0000 Subject: graphics/freeimage: unbreak on armv7 /usr/bin/ld: ./Source/FreeImage/BitmapAccess.o(.text+0x2d0): unresolvable R_ARM_MOVW_ABS_NC relocation against symbol `_ZSt7nothrow' /usr/bin/ld: final link failed: Nonrepresentable section on output cc: error: linker command failed with exit code 1 (use -v to see invocation) --- graphics/freeimage/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'graphics/freeimage') diff --git a/graphics/freeimage/Makefile b/graphics/freeimage/Makefile index f0921ee707be..bbf7d4e6a1fa 100644 --- a/graphics/freeimage/Makefile +++ b/graphics/freeimage/Makefile @@ -25,6 +25,7 @@ MAKE_ARGS= CC="${CC}" CPP="${CPP}" CXX="${CXX}" CFLAGS+= -fexceptions -fvisibility=hidden CFLAGS_aarch64= -fPIC CFLAGS_amd64= -fPIC +CFLAGS_armv7= -fPIC PLIST_FILES= include/FreeImage.h \ include/FreeImagePlus.h \ -- cgit v1.2.3