Commit 57bfd787127da4b827d1fd87898b665107d04e4a
1 parent
dc82c692
Exists in
master
and in
5 other branches
Incluindo suporte para arquitetura arm 64
Showing
1 changed file
with
22 additions
and
9 deletions
Show diff stats
configure.ac
@@ -308,18 +308,31 @@ AC_ARG_ENABLE([pic], | @@ -308,18 +308,31 @@ AC_ARG_ENABLE([pic], | ||
308 | app_cv_pic="$enableval" | 308 | app_cv_pic="$enableval" |
309 | ],[ | 309 | ],[ |
310 | 310 | ||
311 | - case "$host" in | ||
312 | - *-mingw32) | ||
313 | - app_cv_pic="no" | ||
314 | - ;; | 311 | + case "$host_cpu" in |
312 | + x86_64) | ||
313 | + app_cv_pic="yes" | ||
314 | + ;; | ||
315 | + | ||
316 | + aarch64) | ||
317 | + app_cv_pic="yes" | ||
318 | + ;; | ||
315 | 319 | ||
316 | *) | 320 | *) |
317 | - if test "$host_cpu" = "x86_64"; then | ||
318 | - app_cv_pic="yes" | ||
319 | - else | ||
320 | - app_cv_pic="no" | ||
321 | - fi | 321 | + app_cv_pic="no" |
322 | esac | 322 | esac |
323 | + | ||
324 | +dnl case "$host" in | ||
325 | +dnl *-mingw32) | ||
326 | +dnl app_cv_pic="no" | ||
327 | +dnl ;; | ||
328 | +dnl | ||
329 | +dnl *) | ||
330 | +dnl if test "$host_cpu" = "x86_64"; then | ||
331 | +dnl app_cv_pic="yes" | ||
332 | +dnl else | ||
333 | +dnl app_cv_pic="no" | ||
334 | +dnl fi | ||
335 | +dnl esac | ||
323 | ]) | 336 | ]) |
324 | 337 | ||
325 | if test "$app_cv_pic" == "yes"; then | 338 | if test "$app_cv_pic" == "yes"; then |