mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
newsboat: fix cross
This commit is contained in:
parent
6fd4d0040d
commit
c7c2df2ea1
1 changed files with 9 additions and 0 deletions
|
@ -21,6 +21,15 @@ if [ "$CROSS_BUILD" ]; then
|
|||
CXXFLAGS=" -Wno-error=sign-compare"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
cd doc
|
||||
g++ -o generate generate.cpp
|
||||
g++ -o generate2 generate2.cpp
|
||||
g++ -o gen-example-config gen-example-config.cpp
|
||||
fi
|
||||
}
|
||||
|
||||
do_check() {
|
||||
rm -f test/rss.cpp
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue