diff options
author | Gene Carlson <kvngncrlsn@gmail.com> | 2022-06-23 18:59:04 +0900 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-02 09:55:38 +0700 |
commit | 380353d904e252dcdc7a3456c1afc4c20df9eff3 (patch) | |
tree | 638fa265ccfcf62d6f7eb3a39432e4345f30f106 /system/pcem | |
parent | 3099bcfea37c70ce77833eb72ef08c3dda1ebc2a (diff) |
system/pcem: Updated for version fa9c5ef.20220623.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/pcem')
-rw-r--r-- | system/pcem/README | 5 | ||||
-rw-r--r-- | system/pcem/pcem.SlackBuild | 17 | ||||
-rw-r--r-- | system/pcem/pcem.info | 6 |
3 files changed, 13 insertions, 15 deletions
diff --git a/system/pcem/README b/system/pcem/README index de8f64e305686..021168ceffd72 100644 --- a/system/pcem/README +++ b/system/pcem/README @@ -23,10 +23,7 @@ calling pcem.SlackBuild: PCAP=no # Disable PCAP networking (no effect without networking) PLUGINS=yes # Build the plugin engine -This SlackBuild follows the vast majority of other SlackBuilds in using -the -O2 optimization flag. That being said, -O3 is the upstream default -for PCem. Testing revealed no obvious performance differences, but your -mileage may vary. +This SlackBuild follows upstream in applying -O3 optimizations. _____________ | Rom Files | diff --git a/system/pcem/pcem.SlackBuild b/system/pcem/pcem.SlackBuild index 7549ecbf5ad5c..f62dae64207d1 100644 --- a/system/pcem/pcem.SlackBuild +++ b/system/pcem/pcem.SlackBuild @@ -25,8 +25,8 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=pcem -VERSION=${VERSION:-f4a1ab9.20220418} -SRCVERSION=${SRCVERSION:-f4a1ab9c5193ebeaa5ab7da3b613dc78a5614550} +VERSION=${VERSION:-fa9c5ef.20220623} +SRCVERSION=${SRCVERSION:-fa9c5ef6c0e49389faaee329f52caab709762342} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -69,16 +69,17 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" + SLKCFLAGS="-O3 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" + SLKCFLAGS="-O3 -march=i686 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" + # -fPIC causes the dynamic recompiler to crash + SLKCFLAGS="-O3" LIBDIRSUFFIX=64 else - SLKCFLAGS="-O2" + SLKCFLAGS="-O3" LIBDIRSUFFIX="" fi @@ -100,9 +101,9 @@ find -L . \ mkdir build cd build -CXXFLAGS="$SLKCFLAGS" \ -CFLAGS="$SLKCFLAGS" \ cmake -G "Ninja" \ + -DCMAKE_C_FLAGS_RELEASE="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS_RELEASE="$SLKCFLAGS" \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr \ -DPCEM_LIB_DIR=/usr/lib$LIBDIRSUFFIX \ diff --git a/system/pcem/pcem.info b/system/pcem/pcem.info index 1479a263374ed..c088f774995f4 100644 --- a/system/pcem/pcem.info +++ b/system/pcem/pcem.info @@ -1,8 +1,8 @@ PRGNAM="pcem" -VERSION="f4a1ab9.20220418" +VERSION="fa9c5ef.20220623" HOMEPAGE="http://pcem-emulator.co.uk/" -DOWNLOAD="https://github.com/sarah-walker-pcem/pcem/archive/f4a1ab9c5193ebeaa5ab7da3b613dc78a5614550/pcem-f4a1ab9c5193ebeaa5ab7da3b613dc78a5614550.zip" -MD5SUM="22c4288f0f40a4e42644f97b51f94d07" +DOWNLOAD="https://github.com/sarah-walker-pcem/pcem/archive/fa9c5ef6c0e49389faaee329f52caab709762342/pcem-fa9c5ef6c0e49389faaee329f52caab709762342.zip" +MD5SUM="a0662fdfdca03ec769badba91f9ebe79" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="wxGTK3" |