Commit b45c5a2c authored by satmandu's avatar satmandu Committed by GitHub

Add -fPIC to common flags (#5891)

* Meson -> 0.58.1, cmake -> 3.20.4

* remove pipe from meson

* Add -fPIC to common flags
Co-authored-by: default avatarEd Reel <edreel@gmail.com>
parent 3b333619
# Defines common constants used in different parts of crew
CREW_VERSION = '1.11.3'
CREW_VERSION = '1.11.4'
ARCH_ACTUAL = `uname -m`.strip
# This helps with virtualized builds on aarch64 machines
......@@ -80,8 +80,8 @@ when 'x86_64'
CREW_BUILD = 'x86_64-cros-linux-gnu'
end
CREW_COMMON_FLAGS = '-Os -pipe -flto -ffat-lto-objects -fuse-ld=gold'
CREW_COMMON_FNO_LTO_FLAGS = '-Os -pipe -fno-lto -fuse-ld=gold'
CREW_COMMON_FLAGS = '-Os -pipe -flto -ffat-lto-objects -fPIC -fuse-ld=gold'
CREW_COMMON_FNO_LTO_FLAGS = '-Os -pipe -fno-lto -fPIC -fuse-ld=gold'
CREW_FNO_LTO_LDFLAGS = '-fno-lto'
CREW_LDFLAGS = '-flto'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment