build-scripts/config.sub
changeset 8833 ae720d61d14d
parent 6442 2d3caa191dc4
child 8984 bbc802ae0ada
     1.1 --- a/build-scripts/config.sub	Thu Jun 05 15:37:33 2014 -0700
     1.2 +++ b/build-scripts/config.sub	Fri Jun 06 15:45:59 2014 -0300
     1.3 @@ -359,6 +359,19 @@
     1.4  	i*86 | x86_64)
     1.5  	  basic_machine=$basic_machine-pc
     1.6  	  ;;
     1.7 +	nacl64*)
     1.8 +		basic_machine=x86_64-pc
     1.9 +		os=-nacl
    1.10 +		;;
    1.11 +	nacl*)
    1.12 +		basic_machine=i686-pc
    1.13 +		os=-nacl
    1.14 +		;;
    1.15 +    pnacl*)
    1.16 +        # le32-unknown-pnacl comes from http://www.chromium.org/nativeclient/pnacl/stability-of-the-pnacl-bitcode-abi
    1.17 +        basic_machine=le32-unknown
    1.18 +        os=-pnacl
    1.19 +        ;;
    1.20  	# Object if more than one company name word.
    1.21  	*-*-*)
    1.22  		echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
    1.23 @@ -843,6 +856,10 @@
    1.24  		basic_machine=le32-unknown
    1.25  		os=-nacl
    1.26  		;;
    1.27 +    pnacl)
    1.28 +        basic_machine=le32-unknown
    1.29 +        os=-pnacl
    1.30 +        ;;
    1.31  	ncr3000)
    1.32  		basic_machine=i486-ncr
    1.33  		os=-sysv4
    1.34 @@ -1384,6 +1401,12 @@
    1.35  			;;
    1.36  		esac
    1.37  		;;
    1.38 +	-nacl*)
    1.39 +		os=-nacl
    1.40 +		;;
    1.41 +    -pnacl*)
    1.42 +        os=-pnacl
    1.43 +        ;;
    1.44  	-nto-qnx*)
    1.45  		;;
    1.46  	-nto*)
    1.47 @@ -1506,6 +1529,10 @@
    1.48  		os=-dicos
    1.49  		;;
    1.50  	-nacl*)
    1.51 +        os=-nacl
    1.52 +        ;;
    1.53 +	-pnacl*)
    1.54 +        os=-pnacl
    1.55  		;;
    1.56  	-none)
    1.57  		;;