[Buildroot] buildroot openssl compile error
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 :
> $(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.
Thomas Petazzoni, Free Electrons
Kernel, drivers and embedded Linux development,
consulting, training and support.
More information about the buildroot