Lines Matching +full:build +full:- +full:linux +full:- +full:gcc
5 ARCHFLAG=-m$(ARCH)
8 EXTRA_LIBS=-lprocstat
11 ifeq ($(OS),Linux)
12 PROCESSOR:=$(shell uname -p)
14 ifneq ($(wildcard /usr/lib/$(PROCESSOR)-linux-gnu),)
16 PLATFORM_LIBDIR=/usr/lib/$(PROCESSOR)-linux-gnu
18 # Attempt to determine library location from gcc configuration.
19 PLATFORM_LIBDIR=$(shell gcc -v 2>&1 | grep "Configured with:" | sed 's/.*--libdir=\(\/usr\/[^ ]*\).…
24 # assumption that any installed version is 64-bit.
25 ifeq ($(ARCHFLAG),-m32)
30 ifeq ($(ARCHFLAG),-mx32)
38 LIBSCTP=-lsctp
39 CXXFLAGS=-DHAVE_SCTP
43 # Build local libcaprights.a (assuming ./configure
46 LIBCAPRIGHTS_OBJS=libcaprights/capsicum.o libcaprights/linux-bpf-capmode.o libcaprights/procdesc.o …
61 # Extra test programs for arch-transition tests
62 EXTRA_PROGS = mini-me.32 mini-me.64
63 ifneq ($(wildcard /usr/include/gnu/stubs-x32.h),)
64 EXTRA_PROGS += mini-me.x32
75 # - libc6-dev-i386 provides 32-bit headers for a 64-bit system
76 # - libc6-dev-x32 provides headers for the x32 ABI.
77 mini-me.32: mini-me.c
78 $(CC) $(CFLAGS) -m32 -static -o $@ $<
79 mini-me.x32: mini-me.c
80 $(CC) $(CFLAGS) -mx32 -static -o $@ $<
81 mini-me.64: mini-me.c
82 $(CC) $(CFLAGS) -m64 -static -o $@ $<