|
|
9a99763 |
diff -ur root-6.06.02.orig/cmake/modules/SetUpLinux.cmake root-6.06.02/cmake/modules/SetUpLinux.cmake
|
|
|
9a99763 |
--- root-6.06.02.orig/cmake/modules/SetUpLinux.cmake 2016-03-03 10:36:03.000000000 +0100
|
|
|
9a99763 |
+++ root-6.06.02/cmake/modules/SetUpLinux.cmake 2016-04-06 09:42:10.258085039 +0200
|
|
|
9a99763 |
@@ -30,8 +30,8 @@
|
|
|
9a99763 |
else()
|
|
|
9a99763 |
message(FATAL_ERROR "There is no Setup for this compiler up to now. Don't know what to do. Stop cmake at this point.")
|
|
|
9a99763 |
endif()
|
|
|
9a99763 |
-elseif(${SYSCTL_OUTPUT} MATCHES ppc64le)
|
|
|
9a99763 |
- message(STATUS "Found a 64bit ppc64 little endian system")
|
|
|
9a99763 |
+elseif(${SYSCTL_OUTPUT} MATCHES ppc64)
|
|
|
9a99763 |
+ message(STATUS "Found a 64bit PPC system (ppc64/ppc64le)")
|
|
|
9a99763 |
set(SPECIAL_CINT_FLAGS "-DG__64BIT")
|
|
|
9a99763 |
if(CMAKE_COMPILER_IS_GNUCXX)
|
|
|
9a99763 |
message(STATUS "Found GNU compiler collection")
|
|
|
9a99763 |
diff -ur root-6.06.02.orig/config/root-config.in root-6.06.02/config/root-config.in
|
|
|
9a99763 |
--- root-6.06.02.orig/config/root-config.in 2016-03-03 10:36:03.000000000 +0100
|
|
|
9a99763 |
+++ root-6.06.02/config/root-config.in 2016-04-06 09:48:35.837025323 +0200
|
|
|
9a99763 |
@@ -205,17 +205,12 @@
|
|
|
9a99763 |
;;
|
|
|
9a99763 |
linuxppcgcc)
|
|
|
9a99763 |
# PPC Linux with gcc
|
|
|
9a99763 |
- auxcflags="${cxxversionflag} -Wno-deprecated-declarations -fsigned-char -I/usr/X11/include"
|
|
|
9a99763 |
+ auxcflags="${cxxversionflag} -Wno-deprecated-declarations -m32 -fsigned-char"
|
|
|
9a99763 |
+ auxldflags="-m32"
|
|
|
9a99763 |
auxlibs="-lm -ldl -rdynamic"
|
|
|
9a99763 |
;;
|
|
|
9a99763 |
linuxppc64gcc)
|
|
|
9a99763 |
- # PPC64 (64 bit mode) Linux with gcc 3.x
|
|
|
9a99763 |
- auxcflags="${cxxversionflag} -Wno-deprecated-declarations -m64 -fsigned-char"
|
|
|
9a99763 |
- auxldflags="-m64"
|
|
|
9a99763 |
- auxlibs="-lm -ldl -rdynamic"
|
|
|
9a99763 |
- ;;
|
|
|
9a99763 |
-ppc64le)
|
|
|
9a99763 |
- # PPC64 (64 bit mode) little endian
|
|
|
9a99763 |
+ # PPC64/PPC64LE (64 bit mode) Linux with gcc
|
|
|
9a99763 |
auxcflags="${cxxversionflag} -Wno-deprecated-declarations -m64 -fsigned-char"
|
|
|
9a99763 |
auxldflags="-m64"
|
|
|
9a99763 |
auxlibs="-lm -ldl -rdynamic"
|