Make --enable-profile work (subject to the compiler's limits).
[ircu2.10.12-pk.git] / configure.in
index 034e4303fb19eb01ed49875bed1abc338586677e..be0fe266336326180953f839fd012ea2cb0b44e5 100644 (file)
@@ -332,6 +332,7 @@ AC_MSG_RESULT([$unet_cv_enable_profile])
 
 if test x"$unet_cv_enable_profile" = xyes; then
     CFLAGS="-pg $CFLAGS"
+    LDFLAGS="-pg $LDFLAGS"
 fi
 
 dnl Now check for --enable-pedantic