equal
deleted
inserted
replaced
|
1 Prevent: |
|
2 error: #error "Compiler or options invalid for pre-UNIX 03 X/Open applications and pre-2001 POSIX applications |
|
3 |
|
4 diff --git a/configure b/configure |
|
5 --- a/configure |
|
6 +++ b/configure |
|
7 @@ -9759,6 +9759,8 @@ |
|
8 cross_compiling=$ac_cv_prog_cc_cross |
|
9 |
|
10 else |
|
11 + CFLAGS="$CFLAGS -D_XPG6 -D__EXTENSIONS__" |
|
12 + CXXFLAGS="$CXXFLAGS -D_XPG6 -D__EXTENSIONS__" |
|
13 LDFLAGS="$LDFLAGS -Wl,-z,ignore -Wl,-R,'\$\$ORIGIN:\$\$ORIGIN/..' -Wl,-z,lazyload -Wl,-z,combreloc -Wl,-z,muldefs" |
|
14 LIBS="-lc $LIBS" |
|
15 MKSHLIB_FORCE_ALL='-Wl,-z -Wl,allextract' |