aboutsummaryrefslogtreecommitdiff
path: root/dtc.h
diff options
context:
space:
mode:
authorCufi, Carles <Carles.Cufi@nordicsemi.no>2017-05-19 09:06:54 +0000
committerDavid Gibson <david@gibson.dropbear.id.au>2017-05-20 16:17:41 +1000
commitd990b8013889b816ec054c7e07a77db59c56c400 (patch)
tree8579e00e0c86028968096ed56af62c9d96a34db4 /dtc.h
parent51f56dedf8ea1108edc66150c0bf7e9f76b48daa (diff)
downloaddtc-d990b8013889b816ec054c7e07a77db59c56c400.zip
dtc-d990b8013889b816ec054c7e07a77db59c56c400.tar.gz
dtc-d990b8013889b816ec054c7e07a77db59c56c400.tar.bz2
Makefile: Fix build on MSYS2 and Cygwin
The host compiler on MSYS2 and Cygwin does not allow the -fPIC option, issuing a warning that is treated as an error and stops the build. Detect whether we're running under MSYS2 or Cygwin and avoid adding -fPIC to prevent the error from happening. Tested on Linux, MSYS2 and Cygwin. Signed-off-by: Carles Cufi <carles.cufi@gmail.com> [dwg: Added explicit empty CFLAGS for clarity] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'dtc.h')
0 files changed, 0 insertions, 0 deletions