summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Gläßle2017-05-24 11:24:37 +0200
committerThomas Gläßle2017-05-24 11:36:12 +0200
commit24b29070831297d2e5fce1e8a168a94deebc67d4 (patch)
treee6097de20b5227199bdb7aa646fa22b2ba471fe7
parentc34e09f691ca80cf1e0428d9a8a7096606ccfe4c (diff)
downloadaur-24b29070831297d2e5fce1e8a168a94deebc67d4.tar.gz
Switch to 'Release' build type
-rw-r--r--PKGBUILD6
1 files changed, 2 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 21221b1080f..cf19bf4135a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=madx-dev
pkgver=5.03.04
-pkgrel=2
+pkgrel=3
pkgdesc="Accelerator Optics simulation code, latest development release"
url="http://cern.ch/mad"
license=("custom")
@@ -29,14 +29,12 @@ prepare() {
cd ${srcdir}/build
cmake \
- -DCMAKE_C_COMPILER=gcc \
- -DCMAKE_Fortran_COMPILER=gfortran \
-DMADX_STATIC=OFF \
-DMADX_ONLINE=OFF \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
-DBINARY_POSTFIX= \
- -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_RPATH='$ORIGIN' \
${srcdir}/${extract}
}