Am 11. Jul 2014, 11:34 schrieb Csaba Raduly <[email protected]>:

> That might not work from make; by default SHELL=/bin/sh and not bash
>
> You might be better off with a shell script, named e.g. clang++11,
> placed somewhere in the PATH, containing:
>
> exec clang++ -std=c++11 $*

Given the fact that compiler and compile flags are usually easily
(permanently) adjustable in a Makefile there is not much point in doing
so.

I assumed that the original question was about an easy way for a default
parameter on the command line.

Best,
Matthias
_______________________________________________
cfe-users mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-users

Reply via email to