aboutsummaryrefslogtreecommitdiff
path: root/gcc/common.opt
diff options
context:
space:
mode:
authorH.J. Lu <hjl@gcc.gnu.org>2007-11-05 15:42:30 -0800
committerH.J. Lu <hjl@gcc.gnu.org>2007-11-05 15:42:30 -0800
commit528dc60364bc1aace27c0694e22eb02233ceb188 (patch)
treeab57e7be4724ac12b264ec5adae23d47eeda693e /gcc/common.opt
parentd99ffa940466bb4d51242d001638f3bdfae1798f (diff)
downloadgcc-528dc60364bc1aace27c0694e22eb02233ceb188.zip
gcc-528dc60364bc1aace27c0694e22eb02233ceb188.tar.gz
gcc-528dc60364bc1aace27c0694e22eb02233ceb188.tar.bz2
re PR driver/32632 (-pie won't override -shared in -shared -pie)
2007-11-05 H.J. Lu <hongjiu.lu@intel.com> PR driver/32632 * common.opt: Add shared and pie. From-SVN: r129913
Diffstat (limited to 'gcc/common.opt')
-rw-r--r--gcc/common.opt8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc/common.opt b/gcc/common.opt
index aba400b..0652205 100644
--- a/gcc/common.opt
+++ b/gcc/common.opt
@@ -1300,4 +1300,12 @@ w
Common Var(inhibit_warnings)
Suppress warnings
+shared
+Common RejectNegative Negative(pie)
+Create a shared library
+
+pie
+Common RejectNegative Negative(shared)
+Create a position independent executable
+
; This comment is to ensure we retain the blank line above.