diff --git a/package/assimp/assimp.mk b/package/assimp/assimp.mk index 4aeb2963a9..e8620c859a 100644 --- a/package/assimp/assimp.mk +++ b/package/assimp/assimp.mk @@ -10,9 +10,11 @@ ASSIMP_LICENSE = BSD-3-Clause ASSIMP_LICENSE_FILES = LICENSE ASSIMP_INSTALL_STAGING = YES -# relocation truncated to fit: R_68K_GOT16O +# relocation truncated to fit: R_68K_GOT16O. We also need to disable +# optimizations to not run into "Error: value -43420 out of range" +# assembler issues. ifeq ($(BR2_m68k),y) -ASSIMP_CXXFLAGS += -mxgot +ASSIMP_CXXFLAGS += -mxgot -O0 endif # workaround SuperH compiler failure when static linking (i.e -fPIC is