mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
28 lines
728 B
Makefile
28 lines
728 B
Makefile
USE_BUILDROOT=0
|
|
|
|
JOBS=1
|
|
|
|
CFLAGS :=
|
|
CXXFLAGS := $(CFLAGS)
|
|
CPPFLAGS := $(CFLAGS)
|
|
LDFLAGS :=
|
|
LD := ld
|
|
CC := gcc
|
|
CXX := g++
|
|
OBJDUMP := objdump
|
|
RANLIB := ranlib
|
|
STRIP := strip
|
|
AR := ar
|
|
CXXCP := $(CXX) -E
|
|
|
|
CFLAGS += -pipe -mcpu=arm1176jzf-s -fomit-frame-pointer -mabi=aapcs-linux \
|
|
-mtune=arm1176jzf-s -mfpu=vfp -Wno-psabi -mno-apcs-stack-check \
|
|
-O3 -mstructure-size-boundary=32 -mno-sched-prolog
|
|
|
|
LDFLAGS += -L/opt/vc/lib/ -Wl,-rpath /opt/vc/lib/
|
|
|
|
INCLUDES += -I/opt/vc/include -I/opt/vc/include/interface/vcos/ \
|
|
-I/opt/vc/include/interface/vcos/pthreads -I/usr/include/freetype2 \
|
|
-I/opt/vc/include/interface/vmcs_host/linux -I/usr/include/dbus-1.0 \
|
|
-I/usr/lib/dbus-1.0/include/
|
|
|