Commit 208260f3 authored by Jean-Paul Saman's avatar Jean-Paul Saman

contrib: make arm*linux* detection more robust

parent afababf2
......@@ -91,6 +91,9 @@ case $HOST in
echo "HAVE_DARWIN_OS = 1" >> config.mak
echo "HAVE_BSD = 1" >> config.mak
;;
arm*linux*)
echo "HAVE_ARM_LINUX = 1" >> config.mak
;;
*linux*)
echo "HAVE_LINUX = 1" >> config.mak
;;
......@@ -257,8 +260,8 @@ case $HOST in
cat src/Distributions/unix.mak >> distro.mak
fi
;;
arm-linux)
echo "HAVE_ARM_LINUX = 1" >> config.mak
arm*linux*)
echo "STAGING=${STAGING}" >> config.mak
EXTRA_CFLAGS="-I\${STAGING}/usr/include -Os -msoft-float"
EXTRA_CPPLAGS="-I\${STAGING}/usr/include"
EXTRA_LDFLAGS="-L\${STAGING}/lib -L\${STAGING}/usr/lib"
......
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