shithub: wipeout

Download patch

ref: e9f91c57f02a38b84516721fdd95b2d6e84a01dd
parent: 6fcd6697335c8180e4571e435eb68d9fc22540e7
author: Dominic Szablewski <dominic@phoboslab.org>
date: Wed Aug 23 14:26:23 EDT 2023

Remove obsolete -rdynamic flag

--- a/Makefile
+++ b/Makefile
@@ -6,7 +6,6 @@
 USE_GLX ?= false
 DEBUG ?= false
 
-#L_FLAGS ?= -lm -rdynamic
 L_FLAGS ?= -lm
 C_FLAGS ?= -std=gnu99 -Wall -Wno-unused-variable
 
@@ -38,7 +37,6 @@
 # macOS ------------------------------------------------------------------------
 
 ifeq ($(UNAME_S), Darwin)
-	C_FLAGS := $(C_FLAGS) -rdynamic
 	C_FLAGS := $(C_FLAGS) -x objective-c -I/opt/homebrew/include -D_THREAD_SAFE -w
 	L_FLAGS := $(L_FLAGS) -L/opt/homebrew/lib -framework Foundation
 
@@ -53,7 +51,6 @@
 # Linux ------------------------------------------------------------------------
 
 else ifeq ($(UNAME_S), Linux)
-	C_FLAGS := $(C_FLAGS) -rdynamic
 	ifeq ($(RENDERER), GL)
 		L_FLAGS := $(L_FLAGS) -lGLEW
 
@@ -71,7 +68,6 @@
 
 # Windows MSYS ------------------------------------------------------------------
 else ifeq ($(UNAME_O), Msys)
-	# MSYS2 enviroment
 	ifeq ($(RENDERER), GL)
 		L_FLAGS := $(L_FLAGS) -lglew32 -lopengl32
 	endif