summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index c7f9b163df..b838c64203 100755
--- a/configure
+++ b/configure
@@ -1409,7 +1409,10 @@ if netbsd || dragonfly ; then
fi
if darwin; then
- extra_cflags="-mdynamic-no-pic -falign-loops=16 -shared-libgcc $extra_cflags"
+ extra_cflags="-mdynamic-no-pic $extra_cflags"
+ if test "$(basename $_cc)" != "clang" ; then
+ extra_cflags="-falign-loops=16 -shared-libgcc $extra_cflags"
+ fi
_timer=timer-darwin.c
fi