1 |
Micha³ Górny: |
2 |
>> sed -i -e '/^CPPFLAGS\s*=/ s/-g //' \ |
3 |
>> qmake/Makefile.unix || die "sed failed (CPPFLAGS for qmake build)" |
4 |
>> |
5 |
>> # Respect CXX in {bsymbolic_functions,fvisibility,precomp}.test |
6 |
>> sed -i -e "/^QMAKE_CONF_COMPILER=/ s:=.*:=\"$(tc-getCXX)\":" \ |
7 |
>> configure || die "sed failed (QMAKE_CONF_COMPILER)" |
8 |
>> |
9 |
>> # Respect toolchain and flags in config.tests |
10 |
>> find config.tests/unix -name '*.test' -type f -print0 \ |
11 |
>> | xargs -0 sed -i -e '/bin\/qmake/ s/-nocache //' \ |
12 |
>> || die "sed failed (config.tests)" |
13 |
> |
14 |
> find ... -exec sed ... {} + |
15 |
> |
16 |
|
17 |
Unless you really need it please use -execdir instead, since -exec is |
18 |
insecure. Afais it should work both ways here. |