diff options
author | Andrey Kazmin <a.kazmin@partner.samsung.com> | 2019-12-20 13:41:55 +0300 |
---|---|---|
committer | DongHun Kwak <dh0128.kwak@samsung.com> | 2020-01-14 17:10:04 +0900 |
commit | 9b579991b0f2b5a4496ea09e1993f79bb96d8704 (patch) | |
tree | 90785ecbee842fe879cee160ed2493a2fd903407 /packaging | |
parent | aa72804a385b69bf8f117bab4ec174f546655be9 (diff) | |
download | boost-9b579991b0f2b5a4496ea09e1993f79bb96d8704.tar.gz boost-9b579991b0f2b5a4496ea09e1993f79bb96d8704.tar.bz2 boost-9b579991b0f2b5a4496ea09e1993f79bb96d8704.zip |
Fixed build for armv7l with gcc9submit/tizen/20200116.230802submit/tizen/20200115.054719submit/tizen/20200114.081711submit/tizen/20200114.081314accepted/tizen/unified/20200120.133212sandbox/backup/boost_1.65.1_20200128
Fixed arm 32-bit build on 64-bit host.
Added missed environment flags to build with gcc.
Change-Id: Id6e5530a0361acf7b711c044e536041fcb757429
Signed-off-by: Andrey Kazmin <a.kazmin@partner.samsung.com>
Signed-off-by: DongHun Kwak <dh0128.kwak@samsung.com>
Diffstat (limited to 'packaging')
-rw-r--r-- | packaging/boost.spec | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packaging/boost.spec b/packaging/boost.spec index 9b8260cb46..99fe33f2be 100644 --- a/packaging/boost.spec +++ b/packaging/boost.spec @@ -399,6 +399,12 @@ find -type f ! \( -name \*.sh -o -name \*.py -o -name \*.pl \) -exec chmod -x {} find . -name \*.orig -exec rm {} + %build + +%ifarch armv7l +export CFLAGS="${CFLAGS} -Wp,-D_FILE_OFFSET_BITS=64" +export CXXFLAGS="${CXXFLAGS} -Wp,-D_FILE_OFFSET_BITS=64" +%endif + find . -type f -exec chmod u+w {} + # Create shared build instructions |