author | Rich Burridge <rich.burridge@oracle.com> |
Thu, 15 May 2014 16:58:20 -0700 | |
changeset 1898 | 5c902a3c6e7e |
child 1900 | e587944ed7de |
permissions | -rw-r--r-- |
1898
5c902a3c6e7e
18744156 /usr/gnu/bin/chroot is killed when executed with an invalid command argument
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
1 |
These changes have not been passed upstream. It's really a Studio compiler |
5c902a3c6e7e
18744156 /usr/gnu/bin/chroot is killed when executed with an invalid command argument
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
2 |
bug CR #18752073. |
5c902a3c6e7e
18744156 /usr/gnu/bin/chroot is killed when executed with an invalid command argument
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
3 |
|
5c902a3c6e7e
18744156 /usr/gnu/bin/chroot is killed when executed with an invalid command argument
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
4 |
--- coreutils-8.16/src/Makefile.am.orig 2014-05-15 10:13:19.739717905 -0700 |
5c902a3c6e7e
18744156 /usr/gnu/bin/chroot is killed when executed with an invalid command argument
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
5 |
+++ coreutils-8.16/src/Makefile.am 2014-05-15 10:13:51.751658970 -0700 |
5c902a3c6e7e
18744156 /usr/gnu/bin/chroot is killed when executed with an invalid command argument
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
6 |
@@ -178,6 +178,9 @@ |
5c902a3c6e7e
18744156 /usr/gnu/bin/chroot is killed when executed with an invalid command argument
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
7 |
# Tell the linker to omit references to unused shared libraries. |
5c902a3c6e7e
18744156 /usr/gnu/bin/chroot is killed when executed with an invalid command argument
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
8 |
AM_LDFLAGS = $(IGNORE_UNUSED_LIBRARIES_CFLAGS) |
5c902a3c6e7e
18744156 /usr/gnu/bin/chroot is killed when executed with an invalid command argument
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
9 |
|
5c902a3c6e7e
18744156 /usr/gnu/bin/chroot is killed when executed with an invalid command argument
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
10 |
+# for chroot to work correctly for root (CR #18744156) |
5c902a3c6e7e
18744156 /usr/gnu/bin/chroot is killed when executed with an invalid command argument
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
11 |
+chroot_LDFLAGS = -mt=no -D_REENTRANT -z now |
5c902a3c6e7e
18744156 /usr/gnu/bin/chroot is killed when executed with an invalid command argument
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
12 |
+ |
5c902a3c6e7e
18744156 /usr/gnu/bin/chroot is killed when executed with an invalid command argument
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
13 |
# Sometimes, the expansion of $(LIBINTL) includes -lc which may |
5c902a3c6e7e
18744156 /usr/gnu/bin/chroot is killed when executed with an invalid command argument
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
14 |
# include modules defining variables like 'optind', so libcoreutils.a |
5c902a3c6e7e
18744156 /usr/gnu/bin/chroot is killed when executed with an invalid command argument
Rich Burridge <rich.burridge@oracle.com>
parents:
diff
changeset
|
15 |
# must precede $(LIBINTL) in order to ensure we use GNU getopt. |