You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

13 lines
161 B

  1. #!/bin/sh
  2. skip=0
  3. for arg; do
  4. shift
  5. [ "$skip" = "1" ] && skip=0 && continue
  6. [ "$arg" = "-arch" ] && skip=1 && continue
  7. set -- "$@" "$arg"
  8. done
  9. emcc $@