shithub: tinygl

Download patch

ref: e5cc01a96889649c5e8151699e5634cb3b1b4d7c
parent: 0590ba5de9b6b9c07a6de2f2b1f7246e6cefa22c
author: Jacob Moody <[email protected]>
date: Wed Feb 22 23:26:43 EST 2023

keep main for gears

--- a/SDL_Examples/mkfile
+++ b/SDL_Examples/mkfile
@@ -1,6 +1,6 @@
 </$objtype/mkfile
 
-CFLAGS=-Fpw -I/sys/include/npe -I/sys/include/npe/SDL2 -I ../include -D__plan9__ -D__${objtype}__ -DTGL_FEATURE_32_BITS=1 -DTGL_FEATURE_RENDER_BITS=32
+CFLAGS=-Fpw -I/sys/include/npe -I/sys/include/npe/SDL2 -I ../include -D__plan9__ -D__${objtype}__ -DTGL_FEATURE_32_BITS=1 -DTGL_FEATURE_RENDER_BITS=32 -D__plan9_keep_main__
 LIB=../src/libgl.$O.a
 
 OFILES=\