[Git][cmucl/cmucl][issue-425-correctly-rounded-math-functions] Add -std=gnu11 to CFLAGS for x86_linux config
Raymond Toy pushed to branch issue-425-correctly-rounded-math-functions at cmucl / cmucl Commits: 9c16379a by Raymond Toy at 2025-12-18T11:43:32-08:00 Add -std=gnu11 to CFLAGS for x86_linux config Tested this locally with gcc 15.2.1. The core-math routines can compile along with everything else. - - - - - 1 changed file: - src/lisp/Config.x86_linux Changes: ===================================== src/lisp/Config.x86_linux ===================================== @@ -6,6 +6,9 @@ CORE_MATH = -DCORE_MATH_SUPPORT_ERRNO CFLAGS += $(COPT) CPPFLAGS += -m32 +# Gcc 15.2.1 and possibly other version can't compile core-math +# without this option. +CFLAGS += -std=gnu11 CFLAGS += -rdynamic -march=pentium4 -mfpmath=sse -mtune=generic # ANALYZER flag should be set to -fanalyzer when doing the CI builds # for the C static analyzer. View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/9c16379a168976b4d96b2451... -- View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/-/commit/9c16379a168976b4d96b2451... You're receiving this email because of your account on gitlab.common-lisp.net.
participants (1)
-
Raymond Toy (@rtoy)