diff options
author | emaste <emaste@FreeBSD.org> | 2014-11-21 02:05:48 +0000 |
---|---|---|
committer | emaste <emaste@FreeBSD.org> | 2014-11-21 02:05:48 +0000 |
commit | c7e313326dae74e64f75ded1afb06337d55ecd57 (patch) | |
tree | 9eebff29c016aa690ddbb8ca4e33ff42270a0d1c /lib/libc/gen/errlst.c | |
parent | 8723ec446135291c191b573bd01676c8a4c83d3e (diff) | |
download | FreeBSD-src-c7e313326dae74e64f75ded1afb06337d55ecd57.zip FreeBSD-src-c7e313326dae74e64f75ded1afb06337d55ecd57.tar.gz |
Use canonical __PIC__ flag
It is automatically set when -fPIC is passed to the compiler.
Reviewed by: dim, kib
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D1179
Diffstat (limited to 'lib/libc/gen/errlst.c')
-rw-r--r-- | lib/libc/gen/errlst.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/gen/errlst.c b/lib/libc/gen/errlst.c index f8fe968..12d9f8b 100644 --- a/lib/libc/gen/errlst.c +++ b/lib/libc/gen/errlst.c @@ -158,7 +158,7 @@ const char *const sys_errlist[] = { }; const int sys_nerr = sizeof(sys_errlist) / sizeof(sys_errlist[0]); -#ifdef PIC +#ifdef __PIC__ __strong_reference(sys_errlist, __hidden_sys_errlist); __strong_reference(sys_nerr, __hidden_sys_nerr); #endif |