mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 17:17:09 -04:00
Merge pull request #662 from netzbasis/openbsd
Adjust compile instructions for OpenBSD to use cc with -lpthread and -lm
This commit is contained in:
commit
acb4c33ce2
@ -84,7 +84,7 @@ Although the regular linux compiliation flags will work fine, to take full advan
|
||||
|
||||
Install libexecinfo package if needed.
|
||||
|
||||
```gcc *.c -o ClassiCube -I /usr/X11R6/include -I /usr/local/include -L /usr/X11R6/lib -L /usr/local/lib -lX11 -lXi -lGL -lexecinfo```
|
||||
```cc *.c -o ClassiCube -I /usr/X11R6/include -I /usr/local/include -L /usr/X11R6/lib -L /usr/local/lib -lm -lpthread -lX11 -lXi -lGL -lexecinfo```
|
||||
|
||||
#### NetBSD
|
||||
|
||||
|
@ -50,9 +50,10 @@ LIBS=-lexecinfo -lGL -lX11 -lXi -lm -lpthread
|
||||
endif
|
||||
|
||||
ifeq ($(PLAT),openbsd)
|
||||
CC=cc
|
||||
CFLAGS=-g -pipe -rdynamic -I /usr/X11R6/include -I /usr/local/include -fno-math-errno
|
||||
LDFLAGS=-L /usr/X11R6/lib -L /usr/local/lib
|
||||
LIBS=-lexecinfo -lGL -lX11 -lXi
|
||||
LIBS=-lexecinfo -lGL -lX11 -lXi -lm -lpthread
|
||||
endif
|
||||
|
||||
ifeq ($(PLAT),netbsd)
|
||||
|
Loading…
x
Reference in New Issue
Block a user