mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 18:45:23 -04:00
Makefile: Remove -rdynamic from *.c compilation on linux too
This commit is contained in:
parent
ee4bdf9b45
commit
b16d1ba728
@ -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
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user