1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381
|
--- gmp-6.1.2/configure 2019-03-25 17:58:41.928471374 -0400
+++ gmp-6.1.2-LDFLAGS/configure 2019-03-26 13:08:07.756316866 -0400
@@ -5880,7 +5880,7 @@ if test "$gmp_prog_cc_works" = yes; then
int main () { return 0; }
EOF
echo "Test compile: " >&5
- gmp_compile="$cc $cflags $cppflags conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -5934,7 +5934,7 @@ void *f() { return g(); }
int main () { return 0; }
EOF
echo "Test compile: function pointer return" >&5
- gmp_compile="$cc $cflags $cppflags conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -5990,7 +5990,7 @@ int cmov () { return (n >= 0 ? n : 0); }
int main () { return 0; }
EOF
echo "Test compile: cmov instruction" >&5
- gmp_compile="$cc $cflags $cppflags conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -6047,7 +6047,7 @@ unsigned long gcc303 () { return (unsign
int main () { return 0; }
EOF
echo "Test compile: double -> ulong conversion" >&5
- gmp_compile="$cc $cflags $cppflags conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -6102,7 +6102,7 @@ unsigned long fneg () { return -fneg_dat
int main () { return 0; }
EOF
echo "Test compile: double negation" >&5
- gmp_compile="$cc $cflags $cppflags conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -6158,7 +6158,7 @@ float ftod () { return (float) ftod_data
int main () { return 0; }
EOF
echo "Test compile: double -> float conversion" >&5
- gmp_compile="$cc $cflags $cppflags conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -6243,7 +6243,7 @@ param_init ()
int main () { return 0; }
EOF
echo "Test compile: gnupro alpha ev6 char spilling" >&5
- gmp_compile="$cc $cflags $cppflags conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -6294,7 +6294,7 @@ if test "$gmp_prog_cc_works" = yes; then
int k; int foo () { __builtin_alloca (k); }
EOF
echo "Test compile: __builtin_alloca availability" >&5
- gmp_compile="$cc $cflags $cppflags conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -6340,7 +6340,7 @@ int foo ()
int main () { return 0; }
EOF
echo "Test compile: alloca array" >&5
- gmp_compile="$cc $cflags $cppflags conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -6418,7 +6418,7 @@ int f ()
int main () { return 0; }
EOF
echo "Test compile: abs int -> double conversion" >&5
- gmp_compile="$cc $cflags $cppflags conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -6483,7 +6483,7 @@ int dummy;
int main () { return 0; }
EOF
echo "Test compile: long long reliability test 1" >&5
- gmp_compile="$cc $cflags $cppflags conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -6544,7 +6544,7 @@ int dummy;
int main () { return 0; }
EOF
echo "Test compile: long long reliability test 2" >&5
- gmp_compile="$cc $cflags $cppflags conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -6605,7 +6605,7 @@ int dummy;
int main () { return 0; }
EOF
echo "Test compile: freebsd hacked gcc" >&5
- gmp_compile="$cc $cflags $cppflags conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -6704,7 +6704,7 @@ main ()
EOF
echo "Test compile: mpn_lshift_com optimization" >&5
- gmp_compile="$cc $cflags $cppflags conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -6813,7 +6813,7 @@ main ()
EOF
echo "Test compile: mpn_lshift_com optimization 2" >&5
- gmp_compile="$cc $cflags $cppflags conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -7325,7 +7325,7 @@ _main:
xorl %eax, %eax
ret
EOF
- gmp_compile="$cc $cflags $cppflags conftest.s -o conftest >&5"
+ gmp_compile="$cc $cflags $cppflags $LDFLAGS conftest.s -o conftest >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -7390,7 +7390,7 @@ $as_echo_n "checking compiler $cc $cflag
cat >conftest.c <<EOF
int main () { return 0; }
EOF
- gmp_compile="$cc $cflags -no-cpp-precomp conftest.c >conftest.out 2>&1"
+ gmp_compile="$cc $cflags $LDFLAGS -no-cpp-precomp conftest.c >conftest.out 2>&1"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -7498,7 +7498,7 @@ if test "$gmp_prog_cc_works" = yes; then
int main () { return 0; }
EOF
echo "Test compile: " >&5
- gmp_compile="$cc $cflags $cppflags $flag conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $flag $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -7552,7 +7552,7 @@ void *f() { return g(); }
int main () { return 0; }
EOF
echo "Test compile: function pointer return" >&5
- gmp_compile="$cc $cflags $cppflags $flag conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $flag $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -7608,7 +7608,7 @@ int cmov () { return (n >= 0 ? n : 0); }
int main () { return 0; }
EOF
echo "Test compile: cmov instruction" >&5
- gmp_compile="$cc $cflags $cppflags $flag conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $flag $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -7665,7 +7665,7 @@ unsigned long gcc303 () { return (unsign
int main () { return 0; }
EOF
echo "Test compile: double -> ulong conversion" >&5
- gmp_compile="$cc $cflags $cppflags $flag conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $flag $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -7720,7 +7720,7 @@ unsigned long fneg () { return -fneg_dat
int main () { return 0; }
EOF
echo "Test compile: double negation" >&5
- gmp_compile="$cc $cflags $cppflags $flag conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $flag $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -7776,7 +7776,7 @@ float ftod () { return (float) ftod_data
int main () { return 0; }
EOF
echo "Test compile: double -> float conversion" >&5
- gmp_compile="$cc $cflags $cppflags $flag conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $flag $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -7861,7 +7861,7 @@ param_init ()
int main () { return 0; }
EOF
echo "Test compile: gnupro alpha ev6 char spilling" >&5
- gmp_compile="$cc $cflags $cppflags $flag conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $flag $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -7912,7 +7912,7 @@ if test "$gmp_prog_cc_works" = yes; then
int k; int foo () { __builtin_alloca (k); }
EOF
echo "Test compile: __builtin_alloca availability" >&5
- gmp_compile="$cc $cflags $cppflags $flag conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $flag $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -7958,7 +7958,7 @@ int foo ()
int main () { return 0; }
EOF
echo "Test compile: alloca array" >&5
- gmp_compile="$cc $cflags $cppflags $flag conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $flag $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -8036,7 +8036,7 @@ int f ()
int main () { return 0; }
EOF
echo "Test compile: abs int -> double conversion" >&5
- gmp_compile="$cc $cflags $cppflags $flag conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $flag $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -8101,7 +8101,7 @@ int dummy;
int main () { return 0; }
EOF
echo "Test compile: long long reliability test 1" >&5
- gmp_compile="$cc $cflags $cppflags $flag conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $flag $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -8162,7 +8162,7 @@ int dummy;
int main () { return 0; }
EOF
echo "Test compile: long long reliability test 2" >&5
- gmp_compile="$cc $cflags $cppflags $flag conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $flag $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -8223,7 +8223,7 @@ int dummy;
int main () { return 0; }
EOF
echo "Test compile: freebsd hacked gcc" >&5
- gmp_compile="$cc $cflags $cppflags $flag conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $flag $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -8322,7 +8322,7 @@ main ()
EOF
echo "Test compile: mpn_lshift_com optimization" >&5
- gmp_compile="$cc $cflags $cppflags $flag conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $flag $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -8431,7 +8431,7 @@ main ()
EOF
echo "Test compile: mpn_lshift_com optimization 2" >&5
- gmp_compile="$cc $cflags $cppflags $flag conftest.c >&5"
+ gmp_compile="$cc $cflags $cppflags $flag $LDFLAGS conftest.c >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -9987,7 +9987,7 @@ main ()
return 0;
}
EOF
-gmp_compile="$CC_FOR_BUILD conftest.c"
+gmp_compile="$CC_FOR_BUILD $LDFLAGS conftest.c"
cc_for_build_works=no
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
@@ -10019,7 +10019,7 @@ main ()
return 0;
}
EOF
-gmp_compile="$HOST_CC conftest.c"
+gmp_compile="$HOST_CC $LDFLAGS conftest.c"
cc_for_build_works=no
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
@@ -10052,7 +10052,7 @@ main ()
return 0;
}
EOF
-gmp_compile="$i conftest.c"
+gmp_compile="$i $LDFLAGS conftest.c"
cc_for_build_works=no
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
@@ -10132,7 +10132,7 @@ main ()
}
EOF
for i in .exe ,ff8 ""; do
- gmp_compile="$CC_FOR_BUILD conftest.c -o conftest$i"
+ gmp_compile="$CC_FOR_BUILD $LDFLAGS conftest.c -o conftest$i"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -10168,7 +10168,7 @@ main (int argc, char **argv)
return 0;
}
EOF
-gmp_compile="$CC_FOR_BUILD conftest.c"
+gmp_compile="$CC_FOR_BUILD $LDFLAGS conftest.c"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -10210,7 +10210,7 @@ foo ()
return log (d);
}
EOF
-gmp_compile="$CC_FOR_BUILD conftest.c -lm"
+gmp_compile="$CC_FOR_BUILD $LDFLAGS conftest.c -lm"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
@@ -10543,7 +10543,7 @@ if test "$gmp_prog_cxx_works" = yes; the
int main (void) { return 0; }
EOF
echo "Test compile: " >&5
- gmp_cxxcompile="$CXX $CPPFLAGS $CXXFLAGS conftest.cc >&5"
+ gmp_cxxcompile="$CXX $CPPFLAGS $CXXFLAGS $LDFLAGS conftest.cc >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_cxxcompile\""; } >&5
(eval $gmp_cxxcompile) 2>&5
ac_status=$?
@@ -10583,7 +10583,7 @@ using namespace foo;
int main (void) { return 0; }
EOF
echo "Test compile: namespace" >&5
- gmp_cxxcompile="$CXX $CPPFLAGS $CXXFLAGS conftest.cc >&5"
+ gmp_cxxcompile="$CXX $CPPFLAGS $CXXFLAGS $LDFLAGS conftest.cc >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_cxxcompile\""; } >&5
(eval $gmp_cxxcompile) 2>&5
ac_status=$?
@@ -10629,7 +10629,7 @@ void someoutput (void) { std::cout << 12
int main (void) { return 0; }
EOF
echo "Test compile: std iostream" >&5
- gmp_cxxcompile="$CXX $CPPFLAGS $CXXFLAGS conftest.cc >&5"
+ gmp_cxxcompile="$CXX $CPPFLAGS $CXXFLAGS $LDFLAGS conftest.cc >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_cxxcompile\""; } >&5
(eval $gmp_cxxcompile) 2>&5
ac_status=$?
@@ -27095,7 +27095,7 @@ for tmp_underscore in "" "_"; do
${tmp_gsym_prefix}main$gmp_cv_asm_label_suffix
addl $ ${tmp_underscore}_GLOBAL_OFFSET_TABLE_, %ebx
EOF
- gmp_compile="$CCAS $CFLAGS $CPPFLAGS $lt_prog_compiler_pic conftest.s >&5 && $CC $CFLAGS $CPPFLAGS $lt_prog_compiler_pic conftest.$OBJEXT >&5"
+ gmp_compile="$CCAS $CFLAGS $CPPFLAGS $lt_prog_compiler_pic conftest.s >&5 && $CC $CFLAGS $CPPFLAGS $LDFLAGS $lt_prog_compiler_pic conftest.$OBJEXT >&5"
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$gmp_compile\""; } >&5
(eval $gmp_compile) 2>&5
ac_status=$?
|