fix(solidity) (#1430)

This commit is contained in:
Jacob Heider 2023-04-27 20:44:39 -04:00 committed by GitHub
parent ab78917291
commit 565a918481
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 9 deletions

View file

@ -15,7 +15,15 @@ build:
tea.xyz/gx/make: '*'
script: |
./bootstrap.sh --prefix={{ prefix }}
./b2 install --prefix={{ prefix }}
./b2 $ARGS
env:
ARGS:
- install
- --prefix={{ prefix }}
linux/x86-64:
ARGS:
- cxxflags=-fPIC
- linkflags=-fPIC
test:
dependencies:

View file

@ -10,7 +10,7 @@ provides:
- bin/yul-phaser
dependencies:
boost.org: 1
boost.org: ^1.70
interprets:
extensions: sol
@ -49,13 +49,6 @@ build:
- -DCMAKE_INSTALL_PREFIX={{prefix}}
- -DPEDANTIC=OFF # otherwise fails due to deprecations in boost ^1.81
- -DSTRICT_Z3_VERSION=OFF # otherwise complains about Z3 version in cmake
- -DCMAKE_C_FLAGS=$CFLAGS
- -DCMAKE_CXX_FLAGS=$CXXFLAGS
- -DCMAKE_EXE_LINKER_FLAGS=$LDFLAGS
linux/x86-64:
CFLAGS: -fPIC
CXXFLAGS: -fPIC
LDFLAGS: -pie
test:
solc --bin fixture.sol