On 20.03.2013 04:10, Tomasz Pala wrote:
>
>CFLAGS="%{rpmcflags}" make
Sometimes you need to export env, depends on build system chaining.
that was the syntax that "exports" to make
--
glen
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.o
On Wed, Mar 20, 2013 at 03:10:26AM +0100, Tomasz Pala wrote:
> On Tue, Mar 19, 2013 at 18:36:49 +0200, Elan Ruusamäe wrote:
>
> >> +%{__make} \
> >> + CFLAGS="%{rpmcflags} -fblocks -Wall -I$(pwd)/BlocksRunTime
> >> -I$(pwd)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -DLINUX=1 -DBSD=1
> >> -
On Tue, Mar 19, 2013 at 18:36:49 +0200, Elan Ruusamäe wrote:
>> +%{__make} \
>> +CFLAGS="%{rpmcflags} -fblocks -Wall -I$(pwd)/BlocksRunTime
>> -I$(pwd)/include -DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -DLINUX=1 -DBSD=1
>> -DVERSION=\\\"%{version}\\\"" \
>> +LDFLAGS="%{rpmldflags} -L$(pwd)/
On 17.03.2013 09:10, qboosh wrote:
%build
-export CFLAGS="%{rpmcflags}"
-%{__make}
+# note: keep CC=clang, not %{__cc}
+%{__make} \
+ CFLAGS="%{rpmcflags} -fblocks -Wall -I$(pwd)/BlocksRunTime -I$(pwd)/include
-DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -DLINUX=1 -DB
On 17.02.2013 16:37, Jakub Bogusz wrote:
On Sun, Feb 17, 2013 at 01:50:38PM +0200, Elan Ruusamäe wrote:
is pld clang broken? it does not seem to find it's own headers
glen@carme-pld diskdev_cmds-540.1.linux3/BlocksRunTime $ cat test.c
#include
glen@carme-pld diskdev_cmds-540.1.l
On Sun, Feb 17, 2013 at 01:50:38PM +0200, Elan Ruusamäe wrote:
> is pld clang broken? it does not seem to find it's own headers
>
> glen@carme-pld diskdev_cmds-540.1.linux3/BlocksRunTime $ cat test.c
> #include
>
> glen@carme-pld diskdev_cmds-540.1.linux3/BlocksRunTime $
is pld clang broken? it does not seem to find it's own headers
glen@carme-pld diskdev_cmds-540.1.linux3/BlocksRunTime $ cat test.c
#include
glen@carme-pld diskdev_cmds-540.1.linux3/BlocksRunTime $ clang test.c
test.c:2:10: fatal error: 'stdbool.h' file not found
#include