Skip to content

Commit

Permalink
Always set -std=c99 as compiler flag
Browse files Browse the repository at this point in the history
This flag isn't something handled by Spack automatically and this library always needs it because of constructs like
https://github.com/sa2c/sombrero/blob/9ea299adb80b1c71446cdf2c555ab57ec2cb2fb0/Include/geometry.h#L40
  • Loading branch information
giordano authored and mmesiti committed Aug 16, 2021
1 parent 57ea744 commit 093dec4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Make/MkFlags
@@ -1,8 +1,11 @@
# -*- makefile -*-

override CFLAGS += -std=c99

#Compiler
# Set these variables either here or in the environment. See
# https://www.gnu.org/software/make/manual/html_node/Implicit-Variables.html
# If you are using Spack, leave these commented out
# (Spack will manage them when building)
# MPICC = mpicc
# CFLAGS = -std=c99 -O3
# LDFLAGS =

0 comments on commit 093dec4

Please sign in to comment.