* mcpu power8 rebuilds

This commit is contained in:
Alexander Baldeck 2024-10-26 09:43:49 +02:00
parent 104470d80b
commit 3726090a93

View File

@ -17,7 +17,7 @@ sha512sums=('85b19183a2dc666aeb5655d6b66a40d325160d6ac8b5d38c00bad14ee79d69f2277
build() {
cd $pkgname-$pkgver
CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
CFLAGS+=' -fcommon -std=c99 -D_BSD_SOURCE=1' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
ninja
}