Browse Source

Fix compilation with xcode16.3/clang17/gcc14

tags/v0.3.30
Martin Kroeker GitHub 9 months ago
parent
commit
1ed962d259
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      Makefile.system

+ 9
- 0
Makefile.system View File

@@ -435,6 +435,15 @@ ifeq (x$(XCVER), x 15)
CCOMMON_OPT += -Wl,-ld_classic
FCOMMON_OPT += -Wl,-ld_classic
endif
ifeq (x$(XCVER), x 16)
ifeq ($(C_COMPILER), GCC)
CCOMMON_OPT += -Wl,-ld_classic
FCOMMON_OPT += -Wl,-ld_classic
endif
ifeq ($(F_COMPILER), GFORTRAN)
override CEXTRALIB := $(filter-out(-lto_library, $(CEXTRALIB)))
endif
endif
endif

ifneq (,$(findstring $(OSNAME), FreeBSD OpenBSD DragonFly))


Loading…
Cancel
Save