* mcpu power8 rebuilds
This commit is contained in:
parent
104470d80b
commit
3726090a93
@ -17,7 +17,7 @@ sha512sums=('85b19183a2dc666aeb5655d6b66a40d325160d6ac8b5d38c00bad14ee79d69f2277
|
|||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $pkgname-$pkgver
|
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 .
|
cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .
|
||||||
ninja
|
ninja
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user