[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Multilib sources and variables
From: |
Jan Engelhardt |
Subject: |
Re: Multilib sources and variables |
Date: |
Sun, 30 Nov 2008 13:10:20 +0100 (CET) |
User-agent: |
Alpine 1.10 (LNX 962 2008-03-14) |
On Sunday 2008-11-30 02:24, Jan Engelhardt wrote:
>On Sunday 2008-11-30 01:52, NightStrike wrote:
>
>>Is the following kosher?
>
>It will produce two 32-bit libraries on all architectures where
>gcc defaults to a 32-bit output.
(In other words, you are missing -m64. And perhaps some logic
so that lib64 is not built in pure 32-bit environments.)
>>shell32src=libsrc/shell32.c
>>
>>lib32_LIBRARIES += lib32/libshell32.a
>>lib32_libshell32_a_SOURCES = $shell32src
>>lib32_libshell32_a_CPPFLAGS = -m32
>>
>>lib64_LIBRARIES += lib64/libshell32.a
>>lib64_libshell32_a_SOURCES = $shell32src