From 8a36b2583ce970648e3b2b1272d22b884c1f534b Mon Sep 17 00:00:00 2001
From: "Kartik K. Agaram" <vc@akkartik.com>
Date: Sat, 27 Nov 2021 07:27:19 -0800
Subject: select C99 in luasec

I can't select C99 in luasocket, because I don't know how to include
the definition of struct timespec. All this fucking complexity. But
hopefully things will build on OpenBSD now.
---
 src/luasocket/makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/luasocket/makefile')

diff --git a/src/luasocket/makefile b/src/luasocket/makefile
index b4fd6f9..7c92cff 100644
--- a/src/luasocket/makefile
+++ b/src/luasocket/makefile
@@ -58,7 +58,7 @@ SO_macosx=so
 O_macosx=o
 CC_macosx=gcc
 DEF_macosx= -DLUASOCKET_$(DEBUG) -DUNIX_HAS_SUN_LEN
-CFLAGS_macosx=-Wall -O2 -fno-common $(DEF)
+CFLAGS_macosx=-g -O2 -Wall -fno-common $(DEF)
 LDFLAGS_macosx= -bundle -undefined dynamic_lookup -o 
 LD_macosx=gcc
 SOCKET_macosx=usocket.o
-- 
cgit 1.4.1-2-gfad0