Revert "build: fix json-c cross-build for Windows."
This reverts commit 2b2a6b03ed.
My commit has been merged upstream.
This commit is contained in:
parent
8d5afa76e7
commit
bed95ebca7
1 changed files with 1 additions and 4 deletions
|
|
@ -35,12 +35,9 @@ cd ..
|
|||
|
||||
# json-c
|
||||
|
||||
# TODO: implicit-fallthrough and no-return-type warnings must be
|
||||
# reenabled once the following patch has been merged into json-c source:
|
||||
# https://github.com/json-c/json-c/pull/556
|
||||
git clone --depth 1 https://github.com/json-c/json-c.git && \
|
||||
mkdir json-c/_build && cd json-c/_build && \
|
||||
CFLAGS="-Wno-expansion-to-defined -Wimplicit-fallthrough=0 -Wno-return-type" crossroad ../configure && make install || exit 1
|
||||
CFLAGS="-Wno-expansion-to-defined" crossroad ../configure && make install || exit 1
|
||||
cd ../..
|
||||
|
||||
# libmypaint
|
||||
|
|
|
|||
Loading…
Reference in a new issue