Permalink
Browse files

properly escapes commas in cflags

  • Loading branch information...
kenaniah committed Jun 19, 2017
1 parent 6cd487d commit fc706daf60e32f641c90c6da9a6c77f1b40fc20d
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/configure
View
@@ -35,12 +35,12 @@ eval "$("$src_dir"/shobj-conf -C "$CC" -o "$host_os")"
sed "
s,@CC@,${CC},
s,@CFLAGS@,${CFLAGS},
s,@LOCAL_CFLAGS@,${LOCAL_CFLAGS},
s,@CFLAGS@,${CFLAGS//,/\\,},
s,@LOCAL_CFLAGS@,${LOCAL_CFLAGS//,/\\,},
s,@DEFS@,${DEFS},
s,@LOCAL_DEFS@,${LOCAL_DEFS},
s,@SHOBJ_CC@,${SHOBJ_CC},
s,@SHOBJ_CFLAGS@,${SHOBJ_CFLAGS},
s,@SHOBJ_CFLAGS@,${SHOBJ_CFLAGS//,/\\,},
s,@SHOBJ_LD@,${SHOBJ_LD},
s,@SHOBJ_LDFLAGS@,${SHOBJ_LDFLAGS//,/\\,},
s,@SHOBJ_XLDFLAGS@,${SHOBJ_XLDFLAGS//,/\\,},

0 comments on commit fc706da

Please sign in to comment.