Changeset 074ed6708644323bd441332fb7d34b99bd954350
- Timestamp:
- 04/27/08 20:17:42
(3 months ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1209320262 +0300
- git-parent:
[b1cb747e78a22db59dac80434995311a07ff6fdf]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1209320262 +0300
- Message:
Remove the forced ld -z,defs flags.
Clueful people use them when they need to. Let them decide.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r0f84287 |
r074ed67 |
|
| 965 | 965 | RDC_PROG_CC_WFLAGS([all extra sign-compare undef pointer-arith bad-function-cast cast-align write-strings missing-prototypes volatile-register-var]) |
|---|
| 966 | 966 | RDC_PROG_CC_FLAGS_IFELSE([-pipe]) |
|---|
| 967 | | |
|---|
| 968 | | dnl This helps detect broken plugins with undefined symbols |
|---|
| 969 | | dnl Better fail loudly at build-time than silenty at run-time. |
|---|
| 970 | | dnl Unfortunately, this sucks on FreeBSD (won't even link with -lc) |
|---|
| 971 | | if test `uname -s` != FreeBSD; then |
|---|
| 972 | | RDC_PROG_LINK_FLAGS_IFELSE([-Wl,-z,defs], [ |
|---|
| 973 | | VLC_ADD_LDFLAGS([plugin],[-Wl,-z,defs]) |
|---|
| 974 | | ]) |
|---|
| 975 | | fi |
|---|
| 976 | 967 | |
|---|
| 977 | 968 | dnl Check for various optimization flags |
|---|