diff options
author | William Wilgus <me.theuser@yahoo.com> | 2018-12-08 03:19:14 -0600 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2018-12-08 03:19:14 -0600 |
commit | 0f5f5c3390feb6c44da57b5f6748dca0b0a947a0 (patch) | |
tree | d5d04b3e2dd011d9625a8e6fb212f911ad13ddaf /tools/configure | |
parent | 69c6c77680b1a59b000bb1fa45f4ee5153afb9f8 (diff) |
Fix Sim & checkwps for newer distros
__builtin found fix for rbendian.h
tools/configure defines SIM_USE_BYTESWAP_H if byteswap.h is found in
/usr/include/ maybe there is a better mechanism for this
Change-Id: I4d004e68313e8b32aa5587582be36bc459fdaf6b
Diffstat (limited to 'tools/configure')
-rwxr-xr-x | tools/configure | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/configure b/tools/configure index 6398c48d06..a7635a8460 100755 --- a/tools/configure +++ b/tools/configure @@ -4394,6 +4394,7 @@ fi ;; [Cc]) uname=`uname` + checkwps="yes" simcc "checkwps" toolset=''; t_cpu=''; @@ -4474,9 +4475,13 @@ fi if [ "yes" = "$simulator" ]; then echo Unsetting APPLICATION define for SIMULATOR build unset application +fi + +# newer glibc implementations use byteswap.h +if [ "$simulator" = "yes" ] || [ "$checkwps" = "yes" ]; then if test -f "$BYTESWP"; then echo Using "$BYTESWP" - extradefines="$extradefines -DSIM_USE_BYTESWAP_H=$BYTESWP" + extradefines="$extradefines -DOS_USE_BYTESWAP_H=$BYTESWP" fi fi |