mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Another update for paladin, this bep and patch will build for gcc2 and gcc4 using a gcc2hybrid, but may not work on a gcc4 or gcc4hybrid...
This commit is contained in:
@@ -11,11 +11,14 @@ BUILD {
|
||||
chmod 755 buildhaikugcc4.sh
|
||||
if [ -n "$(setgcc | grep '2')" ]; then
|
||||
./buildhaikugcc2.sh
|
||||
cd ../SymbolFinder
|
||||
../Paladin/Paladin -r -d SymbolFinder.pld
|
||||
else
|
||||
./buildhaikugcc4.sh
|
||||
cd ../SymbolFinder
|
||||
make
|
||||
cp objects.x86-gcc4-release/SymbolFinder SymbolFinder
|
||||
fi
|
||||
cd ../SymbolFinder
|
||||
../Paladin/Paladin -r -d SymbolFinder.pld
|
||||
cd ../PalEdit
|
||||
jam
|
||||
}
|
||||
|
||||
@@ -83,3 +83,34 @@ diff -urN Paladin-1.3.src/PalEdit/Jamrules Paladin-1.3.src/PalEdit-jam/Jamrules
|
||||
+ cp -a $(COMMON_FOLDER)/lib/libpcre*.so $(DISTRO_DIR)/lib/ ;
|
||||
+}
|
||||
+
|
||||
diff -urN Paladin-1.3.src/SymbolFinder/Makefile Paladin-1.3.src.gcc2hybrid/SymbolFinder/Makefile
|
||||
--- Paladin-1.3.src/SymbolFinder/Makefile 1970-01-01 00:00:00.000000000 +0000
|
||||
+++ Paladin-1.3.src.gcc2hybrid/SymbolFinder/Makefile 2010-09-06 05:26:21.833093632 +0000
|
||||
@@ -0,0 +1,27 @@
|
||||
+NAME= SymbolFinder
|
||||
+TYPE= APP
|
||||
+SRCS= App.cpp DPath.cpp DWindow.cpp MainWindow.cpp
|
||||
+RSRCS=
|
||||
+LIBS= /boot/develop/lib/x86/libroot.so /boot/develop/lib/x86/libbe.so /boot/system/lib/gcc4/libstdc++.so /boot/develop/lib/x86/libsupc++.so /boot/develop/lib/x86/libstdc++.so
|
||||
+LIBPATHS=
|
||||
+SYSTEM_INCLUDE_PATHS= /boot/develop/headers/be /boot/develop/headers/cpp /boot/develop/headers/posix /boot/home/config/include /boot/develop/abi/x86/gcc4/lib
|
||||
+LOCAL_INCLUDE_PATHS=
|
||||
+OPTIMIZE=FULL
|
||||
+# specify any preprocessor symbols to be defined. The symbols will not
|
||||
+# have their values set automatically; you must supply the value (if any)
|
||||
+# to use. For example, setting DEFINES to "DEBUG=1" will cause the
|
||||
+# compiler option "-DDEBUG=1" to be used. Setting DEFINES to "DEBUG"
|
||||
+# would pass "-DDEBUG" on the compiler's command line.
|
||||
+DEFINES=
|
||||
+# specify special warning levels
|
||||
+# if unspecified default warnings will be used
|
||||
+# NONE = supress all warnings
|
||||
+# ALL = enable all warnings
|
||||
+WARNINGS =
|
||||
+# Build with debugging symbols if set to TRUE
|
||||
+SYMBOLS=
|
||||
+COMPILER_FLAGS=
|
||||
+LINKER_FLAGS=
|
||||
+
|
||||
+## include the makefile-engine
|
||||
+include $(BUILDHOME)/etc/makefile-engine
|
||||
|
||||
Reference in New Issue
Block a user