changeset 9387:d906511395c4

<ais523> ` sed -i -e "s/FLAGS=\'-std/FLAGS=\'-lm -std/" interps/gcccomp/gcccomp
author HackBot
date Fri, 21 Oct 2016 22:06:29 +0000
parents 2cdbcaaf7599
children 9ced3f224902
files interps/gcccomp/gcccomp
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/interps/gcccomp/gcccomp	Fri Oct 21 20:17:15 2016 +0000
+++ b/interps/gcccomp/gcccomp	Fri Oct 21 22:06:29 2016 +0000
@@ -8,7 +8,7 @@
         TAIL='; return 0; }'
         EXT='c'
         GCC='gcc'
-        FLAGS='-std=gnu99'
+        FLAGS='-lm -std=gnu99'
     ;;
 
     c++)
@@ -16,7 +16,7 @@
         TAIL='; return 0; }'
         EXT='cc'
         GCC='g++'
-        FLAGS='-std=gnu++0x'
+        FLAGS='-lm -std=gnu++0x'
     ;;
 
     assembler)