[Buildroot] buildroot openssl compile error

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Tue Apr 14 08:41:34 UTC 2009


Le Tue, 14 Apr 2009 09:09:07 +0200,
Thomas Petazzoni <thomas.petazzoni at free-electrons.com> a écrit :

> $(OPENSSL_TARGET_BUILD):
>         $(MAKE1) CC=$(TARGET_CC) -C $(OPENSSL_DIR) all build-shared
>         $(MAKE1) CC=$(TARGET_CC) -C $(OPENSSL_DIR) do_linux-shared
>         touch $@

Here, using CC="$(TARGET_CC) $(TARGET_CFLAGS)" allows openssl to find
zlib.h properly. However, it fails later with make thinking that the
-Os and --sysroot options are for him (and not for gcc). The openssl
build system looks strange, I don't have the time to look at time now.
Maybe tomorrow.

Sincerly,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
http://free-electrons.com



More information about the buildroot mailing list