mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
build on Irix
This commit is contained in:
parent
72dc12698d
commit
d636bc832f
@ -773,6 +773,11 @@
|
||||
// if ranlib is not necessary on your platform.
|
||||
#defer RANLIB ranlib $[target]
|
||||
|
||||
// Where to put the so_locations file, used by an Irix MIPSPro
|
||||
// compiler, to generate a map of shared library memory locations.
|
||||
#defer SO_LOCATIONS $[DTOOL_INSTALL]/etc/so_locations
|
||||
|
||||
|
||||
// How to generate a shared C or C++ library. $[source] and $[target]
|
||||
// as above, and $[libs] is a space-separated list of dependent
|
||||
// libraries, and $[lpath] is a space-separated list of directories in
|
||||
@ -833,7 +838,7 @@
|
||||
#defer STATIC_LIB_C++ $[CXX] -ar -o $[target] $[sources]
|
||||
#defer RANLIB
|
||||
|
||||
#define SHARED_FLAGS -Wl,-none -Wl,-update_registry,$[TOPDIR]/so_locations
|
||||
#defer SHARED_FLAGS -Wl,-none -Wl,-update_registry,$[SO_LOCATIONS]
|
||||
#defer SHARED_LIB_C $[cc_ld] -shared $[SHARED_FLAGS] -o $[target] $[sources] $[lpath:%=-L%] $[libs:%=-l%]
|
||||
#defer SHARED_LIB_C++ $[cxx_ld] -shared $[SHARED_FLAGS] -o $[target] $[sources] $[lpath:%=-L%] $[libs:%=-l%]
|
||||
#endif
|
||||
|
@ -205,7 +205,8 @@ reload_implicit_pages() {
|
||||
vector_string::reverse_iterator fi;
|
||||
for (fi = files.rbegin(); fi != files.rend(); ++fi) {
|
||||
int file_flags = 0;
|
||||
for (Globs::const_iterator gi = _prc_patterns.begin();
|
||||
Globs::const_iterator gi;
|
||||
for (gi = _prc_patterns.begin();
|
||||
gi != _prc_patterns.end();
|
||||
++gi) {
|
||||
if ((*gi).matches(*fi)) {
|
||||
@ -213,7 +214,7 @@ reload_implicit_pages() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
for (Globs::const_iterator gi = _prc_executable_patterns.begin();
|
||||
for (gi = _prc_executable_patterns.begin();
|
||||
gi != _prc_executable_patterns.end();
|
||||
++gi) {
|
||||
if ((*gi).matches(*fi)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user