mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-24 09:25:31 +02:00
bug 256763: -fPIC parameter for GCC compilers
Based on patch from Andrey Tretyakov
This commit is contained in:
parent
1fbb6f4b05
commit
2031a8ee15
2 changed files with 17 additions and 0 deletions
|
@ -146,6 +146,7 @@ Option.Posix.Warn.toerrs=Warnings as errors (-Werror)
|
|||
Option.Posix.Verbose=Verbose (-v)
|
||||
Option.OtherFlags=Other flags
|
||||
Option.Posix.Ansi=Support ANSI programs (-ansi)
|
||||
Option.PIC=Position Independent Code (-fPIC)
|
||||
|
||||
Option.Posix.Linker.NoStartFiles=Do not use standard start files (-nostartfiles)
|
||||
Option.Posix.Linker.NoDefLibs=Do not use default libraries (-nodefaultlibs)
|
||||
|
|
|
@ -1238,6 +1238,14 @@
|
|||
id="gnu.c.compiler.option.misc.ansi"
|
||||
valueType="boolean">
|
||||
</option>
|
||||
<option
|
||||
category="gnu.c.compiler.category.other"
|
||||
command="-fPIC"
|
||||
defaultValue="false"
|
||||
id="gnu.c.compiler.option.misc.pic"
|
||||
name="%Option.PIC"
|
||||
valueType="boolean">
|
||||
</option>
|
||||
<inputType
|
||||
sourceContentType="org.eclipse.cdt.core.cSource"
|
||||
sources="c"
|
||||
|
@ -1528,6 +1536,14 @@
|
|||
id="gnu.cpp.compiler.option.other.verbose"
|
||||
valueType="boolean">
|
||||
</option>
|
||||
<option
|
||||
category="gnu.cpp.compiler.category.other"
|
||||
command="-fPIC"
|
||||
defaultValue="false"
|
||||
id="gnu.cpp.compiler.option.other.pic"
|
||||
name="%Option.PIC"
|
||||
valueType="boolean">
|
||||
</option>
|
||||
<inputType
|
||||
sourceContentType="org.eclipse.cdt.core.cxxSource"
|
||||
sources="c,C,cc,cxx,cpp"
|
||||
|
|
Loading…
Add table
Reference in a new issue