openswan: fix possible build failure
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Sun, 30 Mar 2014 11:56:30 +0000 (08:56 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Thu, 3 Apr 2014 19:40:07 +0000 (21:40 +0200)
commitc5af9cecf2aec9775d14f6f4d4830e36269e7401
tree07fe8880fe7797fac1f6f0171fe58879614bfa91
parent6acb2e1db29238b7d05a30968a29753e879ab819
openswan: fix possible build failure

openswan's Makefile uses gcc instead of $(CC) for gcc version detection
to use advanced warning/error options. The problem is that if the
host gcc version is newish (>=4.6) and the gcc for the target is not it
uses unsupported options.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/openswan/openswan-01-gcc-detection.patch [new file with mode: 0644]