lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
Last change
on this file since cd7a87d was b9b103d3, checked in by Martin Decky <martin@…>, 20 years ago |
Enable/disable CPU memory barriers at compile time
|
-
Property mode
set to
100755
|
File size:
298 bytes
|
Line | |
---|
1 | #! /bin/sh
|
---|
2 |
|
---|
3 | COMPILER=""
|
---|
4 |
|
---|
5 | while [ "$#" -gt 0 ]; do
|
---|
6 | case "$1" in
|
---|
7 | native)
|
---|
8 | COMPILER="$COMPILER NATIVE_COMPILER=yes"
|
---|
9 | ;;
|
---|
10 | strong)
|
---|
11 | COMPILER="$COMPILER STRONG_ORDERING=yes"
|
---|
12 | ;;
|
---|
13 | *)
|
---|
14 | echo "Supported arguments: native strong"
|
---|
15 | exit 1
|
---|
16 | ;;
|
---|
17 | esac
|
---|
18 | shift
|
---|
19 | done
|
---|
20 |
|
---|
21 | make all ARCH=ia32 $COMPILER
|
---|
Note:
See
TracBrowser
for help on using the repository browser.