xpra icon
Bug tracker and wiki

This bug tracker and wiki are being discontinued
please use https://github.com/Xpra-org/xpra instead.


Ticket #727: clang-wrapper.2

File clang-wrapper.2, 285 bytes (added by Antoine Martin, 5 years ago)

updated wrapper - works with Fedora 23

Line 
1#!/bin/bash
2
3options=()  # the buffer array for the parameters
4eoo=0       # end of options reached
5
6while [[ $1 ]]
7do
8        if [ "$1" == "-fstack-protector-strong" ]; then
9                true
10        elif [[ "$1" =~ ^-specs= ]]; then
11                true
12        else
13              options+=("$1")
14        fi
15        shift
16done
17
18clang "${options[@]}"