[cmake-developers] GCC HPPA linker errors

Brad King brad.king at kitware.com
Thu Nov 6 11:27:16 EST 2014


On 11/06/2014 11:22 AM, Chuck Atkins wrote:
> The branch has been updated, merged, squashed, and remerged to next

Thanks.  This hunk:

> # Determine whether this is Linux
> if echo "${cmake_system}" | grep Linux >/dev/null 2>&1; then
>   cmake_system_linux=true
>   # find out if it is a HP PA-RISC machine
>   if uname -m | grep parisc >/dev/null 2>&1; then
>     cmake_machine_parisc=true
>   else
>     cmake_machine_parisc=false
>   fi
> else
>   cmake_system_linux=false
>   cmake_machine_parisc=false
> fi

Now sets an unused 'cmake_system_linux' variable and will never
set 'cmake_machine_parisc' on non-Linux systems.  Isn't the goal
for this to work on HP-UX too?

-Brad



More information about the cmake-developers mailing list