Changeset 3623 for trunk/coreboot-v2/util/abuild/abuild
- Timestamp:
- 09/30/08 19:09:44 (3 months ago)
- Files:
-
- 1 modified
-
trunk/coreboot-v2/util/abuild/abuild (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/coreboot-v2/util/abuild/abuild
r3359 r3623 43 43 # this is disabled per default but can be enabled with -s 44 44 silent= 45 46 # stackprotect mode enabled by -ns option. 47 stackprotect=false 45 48 46 49 ARCH=`uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/ \ … … 323 326 CROSS_COMPILE='' 324 327 fi 325 HOSTCC='gcc' 326 328 329 if [ "$stackprotect" = "true" ]; then 330 CC="$CC -fno-stack-protector" 331 fi 332 333 HOSTCC='gcc' 334 327 335 printf "Processing mainboard/$VENDOR/$MAINBOARD" 328 336 … … 469 477 printf " [-c|--cpus <numcpus>] build on <numcpus> at the same time\n" 470 478 printf " [-s|--silent] omit compiler calls in logs\n" 479 printf " [-ns|--nostackprotect] use gcc -fno-stack-protector option\n" 471 480 printf " [lbroot] absolute path to coreboot sources\n" 472 481 printf " (defaults to $LBROOT)\n\n" … … 525 534 -c|--cpus) shift; cpus="$1"; test "$cpus" == "max" && cpus=""; shift;; 526 535 -s|--silent) shift; silent="-s";; 536 -ns|--nostackprotect) shift; stackprotect=true;; 527 537 --) shift; break;; 528 538 -*) printf "Invalid option\n\n"; myhelp; exit 1;;
