Skip to content

Commit

Permalink
Relax GCC14 errors for libfreeimage
Browse files Browse the repository at this point in the history
  • Loading branch information
rtissera committed Jan 22, 2025
1 parent 47d70db commit 72619d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package/libfreeimage/libfreeimage.mk
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ ifeq ($(BR2_ARM_CPU_ARMV8A),y)
LIBFREEIMAGE_CFLAGS=$(TARGET_CFLAGS) -DPNG_ARM_NEON_OPT=0
endif

# REG fix GCC 14
LIBFREEIMAGE_CFLAGS += -Wno-error=implicit-function-declaration -Wno-error=incompatible-pointer-types

define LIBFREEIMAGE_BUILD_CMDS
$(TARGET_MAKE_ENV) $(TARGET_CONFIGURE_OPTS) CFLAGS="$(LIBFREEIMAGE_CFLAGS)" \
CXXFLAGS="$(TARGET_CXXFLAGS) -std=c++11" $(MAKE) -C $(@D)
Expand Down

0 comments on commit 72619d5

Please sign in to comment.