Makefile: Remove -rdynamic from *.c compilation on linux too

This commit is contained in:
UnknownShadow200 2021-11-17 18:50:30 +11:00
parent ee4bdf9b45
commit b16d1ba728
2 changed files with 3 additions and 3 deletions

View File

@ -5,7 +5,7 @@ ENAME=ClassiCube
DEL=rm DEL=rm
JOBS=1 JOBS=1
CC=cc CC=cc
CFLAGS=-g -pipe -rdynamic -fno-math-errno CFLAGS=-g -pipe -fno-math-errno
LDFLAGS=-g -rdynamic LDFLAGS=-g -rdynamic
ifndef $(PLAT) ifndef $(PLAT)
@ -50,8 +50,8 @@ LIBS=-lm -lsocket -lX11 -lXi -lGL
endif endif
ifeq ($(PLAT),mac_x32) ifeq ($(PLAT),mac_x32)
LIBS=
CFLAGS=-g -m32 -pipe -fno-math-errno CFLAGS=-g -m32 -pipe -fno-math-errno
LIBS=
LDFLAGS=-rdynamic -framework Carbon -framework AGL -framework OpenGL -framework IOKit LDFLAGS=-rdynamic -framework Carbon -framework AGL -framework OpenGL -framework IOKit
endif endif

View File

@ -6,7 +6,7 @@
#include "Bitmap.h" #include "Bitmap.h"
#include "Errors.h" #include "Errors.h"
#include <ApplicationServices/ApplicationServices.h> #include <ApplicationServices/ApplicationServices.h>
#include <Carbon/Carbon.h> #include <HIToolbox/HIToolbox.h>
static int windowX, windowY; static int windowX, windowY;
static WindowRef win_handle; static WindowRef win_handle;