Changeset 0d753ff for configure


Ignore:
Timestamp:
2022-02-17T22:23:06Z (3 years ago)
Author:
Jelmer Vernooij <jelmer@…>
Branches:
master
Children:
2dd6076
Parents:
cfe7243
git-author:
Claes Nästén <pekdon@…> (11-02-22 19:27:24)
git-committer:
Jelmer Vernooij <jelmer@…> (17-02-22 22:23:06)
Message:

Disable pie on SunOS, not supported

Add SunOS to the list of operating systems not supporting pie

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure

    rcfe7243 r0d753ff  
    5656
    5757arch=$(uname -s)
     58arch_rel=$(uname -r)
    5859
    5960GLIB_MIN_VERSION=2.32
    6061
    61 # Cygwin and Darwin don't support PIC/PIE
     62# Cygwin, Darwin and SunOS < 5.11 do not support PIC/PIE
    6263case "$arch" in
    6364        CYGWIN* )
     
    6566        Darwin )
    6667                pie=0;;
     68        SunOS )
     69                if [ "$arch_rel" = "5.10" ]; then
     70                        pie=0;;
     71                fi
    6772esac
    6873
Note: See TracChangeset for help on using the changeset viewer.