about summary refs log tree commit diff stats
path: root/src/luasec/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/luasec/Makefile')
-rw-r--r--src/luasec/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/luasec/Makefile b/src/luasec/Makefile
index 732bb3e..b1a52a9 100644
--- a/src/luasec/Makefile
+++ b/src/luasec/Makefile
@@ -14,10 +14,10 @@ WARN=-Wall -Wpedantic -Wshadow
 BSD_CFLAGS=-O2 -fPIC $(WARN) $(DEFS)
 BSD_LDFLAGS=-O -fPIC -shared
 
-linux_CFLAGS=-g -O2 $(WARN) $(DEFS)
+linux_CFLAGS=-g -O2 -std=c99 $(WARN) $(DEFS)
 
 macosx_ENV=env MACOSX_DEPLOYMENT_TARGET='$(MACVER)'
-macosx_CFLAGS=-O2 -fno-common $(WARN) $(DEFS) -I/usr/local/opt/openssl@3/include
+macosx_CFLAGS=-g -O2 -std=c99 -fno-common $(WARN) $(DEFS) -I/usr/local/opt/openssl@3/include
 macosx_LDFLAGS=-bundle -undefined dynamic_lookup -L/usr/local/opt/openssl@3/lib
 
 INSTALL  = install