Message-ID: <4D720E38.2050602@...1030...> Date: Sat, 05 Mar 2011 10:19:36 +0000 From: Mr Dash Four MIME-Version: 1.0 References: <4D713CD3.3000606@...515...> <4D716245.6040500@...1114...> <4D717DB0.3030107@...1030...> In-Reply-To: Subject: Re: [Openvpn-devel] OpenVPN 2.2-RC released List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit To: Alon Bar-Lev Cc: "openvpn-devel@lists.sourceforge.net" >> Speaking of which, I also proposed a (rather trivial) patch which enables >> cross compilation of a number of OpenVPN plugins (that patch is attached >> again) as in the 2.1.4 version that was not possible. >> > > I think you should leave the -O2 as default to CFLAGS. > > CFLAGS=-O2 > > Can be overridden by: > > make CFLAGS="-O0" > As evident from the patch I provided, I haven't put the O2 flags there - I only alter the hard-coded values in that makefile which prevents cross-compilation. Whether the O2 (or O0) flags should have been there in the first place is not for me to decide as I do not maintain these plugins - my patch only ensures that cross-compilation is made possible.