mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-16 09:20:11 -04:00
Fix OpenGL compile issues on PC-BSD
This commit is contained in:
parent
472c0a501d
commit
453381a0b1
@ -36,7 +36,7 @@
|
|||||||
#define CXX CC
|
#define CXX CC
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Linux doesn't (yet) have any funny architecture flags.
|
// FreeBSD doesn't (yet) have any funny architecture flags.
|
||||||
#defer ARCH_FLAGS
|
#defer ARCH_FLAGS
|
||||||
|
|
||||||
// How to compile a C or C++ file into a .o file. $[target] is the
|
// How to compile a C or C++ file into a .o file. $[target] is the
|
||||||
@ -138,7 +138,7 @@
|
|||||||
#defer INSTALL_PROG $[if $[ne $[dir $[local]], ./],cd ./$[dir $[local]] &&] install -m $[INSTALL_UMASK_PROG] $[install_dash_p] $[notdir $[local]] $[dest]/
|
#defer INSTALL_PROG $[if $[ne $[dir $[local]], ./],cd ./$[dir $[local]] &&] install -m $[INSTALL_UMASK_PROG] $[install_dash_p] $[notdir $[local]] $[dest]/
|
||||||
|
|
||||||
// What additional flags should we pass to interrogate?
|
// What additional flags should we pass to interrogate?
|
||||||
#if $[eq $[shell uname -m], x86_64] // if Linux is 64bit
|
#if $[eq $[shell uname -m], x86_64] // if FreeBSD is 64bit
|
||||||
#define SYSTEM_IGATE_FLAGS -D_LP64 -D__const=const -Dvolatile -Dmutable
|
#define SYSTEM_IGATE_FLAGS -D_LP64 -D__const=const -Dvolatile -Dmutable
|
||||||
#else
|
#else
|
||||||
#define SYSTEM_IGATE_FLAGS -D__i386__ -D__const=const -Dvolatile -Dmutable
|
#define SYSTEM_IGATE_FLAGS -D__i386__ -D__const=const -Dvolatile -Dmutable
|
||||||
@ -292,3 +292,8 @@
|
|||||||
#define DYNAMIC_LIB_EXT .so
|
#define DYNAMIC_LIB_EXT .so
|
||||||
#define STATIC_LIB_EXT .a
|
#define STATIC_LIB_EXT .a
|
||||||
#define BUNDLE_EXT
|
#define BUNDLE_EXT
|
||||||
|
|
||||||
|
#if $[eq $[shell uname -n], pcbsd] // if we're running PC-BSD
|
||||||
|
#define EXTRA_IPATH /usr/PCBSD/local/include/
|
||||||
|
#define EXTRA_LPATH /usr/PCBSD/local/lib/
|
||||||
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user