sgl

diff Makefile.in @ 41:f4ea3a88b05a

macos build fixes. Patch by Andrew Woods
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 25 Jan 2025 22:26:40 +0200
parents 3d6ee9fb9ac1
children
line diff
     1.1 --- a/Makefile.in	Thu Jun 28 03:42:26 2012 +0300
     1.2 +++ b/Makefile.in	Sat Jan 25 22:26:40 2025 +0200
     1.3 @@ -26,6 +26,10 @@
     1.4  CFLAGS = -pedantic -Wall -g -fPIC -Iinclude -Isrc $(wsys_cflags) $(CFLAGS_extra)
     1.5  LDFLAGS = $(wsys_libs)
     1.6  
     1.7 +ifeq ($(shell uname -s), Darwin)
     1.8 +	CFLAGS += -DGL_SILENCE_DEPRECATION
     1.9 +endif
    1.10 +
    1.11  .PHONY: all
    1.12  all: $(lib_so) $(lib_a)
    1.13