Merge changes Ie8ecb6c9,Ia9befd7c
* changes: Use relative paths in copygcclib.sh deps files Move -fno-canonical-system-headers to global cflags
This commit is contained in:
@@ -36,6 +36,7 @@ var (
|
|||||||
|
|
||||||
// Make paths in deps files relative
|
// Make paths in deps files relative
|
||||||
"-no-canonical-prefixes",
|
"-no-canonical-prefixes",
|
||||||
|
"-fno-canonical-system-headers",
|
||||||
|
|
||||||
"-DNDEBUG",
|
"-DNDEBUG",
|
||||||
"-UDEBUG",
|
"-UDEBUG",
|
||||||
@@ -54,7 +55,6 @@ var (
|
|||||||
deviceGlobalCflags = []string{
|
deviceGlobalCflags = []string{
|
||||||
"-fdiagnostics-color",
|
"-fdiagnostics-color",
|
||||||
|
|
||||||
"-fno-canonical-system-headers",
|
|
||||||
"-ffunction-sections",
|
"-ffunction-sections",
|
||||||
"-funwind-tables",
|
"-funwind-tables",
|
||||||
"-fstack-protector-strong",
|
"-fstack-protector-strong",
|
||||||
|
@@ -2,6 +2,6 @@
|
|||||||
|
|
||||||
OUT=$1
|
OUT=$1
|
||||||
shift
|
shift
|
||||||
LIBPATH=$($@)
|
LIBPATH=$($@ | sed -e "s|^$PWD/||")
|
||||||
cp -f $LIBPATH $OUT
|
cp -f $LIBPATH $OUT
|
||||||
echo "$OUT: $LIBPATH" > ${OUT}.d
|
echo "$OUT: $LIBPATH" > ${OUT}.d
|
||||||
|
Reference in New Issue
Block a user