|
Revision 15294, 1.2 KB
(checked in by wahwah, 22 months ago)
|
|
pkg/llvm/trunk: At least part of it builds, but linking fails with missing symbols
|
-
Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 | # $Id$ |
|---|
| 2 | # TODO (release-critical prefixed with !, non release-critical with *) |
|---|
| 3 | # |
|---|
| 4 | NAME = llvm |
|---|
| 5 | VERSION = 2.9 |
|---|
| 6 | GARTYPE = v2 |
|---|
| 7 | CATEGORIES = lib |
|---|
| 8 | |
|---|
| 9 | DESCRIPTION = Brief description |
|---|
| 10 | define BLURB |
|---|
| 11 | Long description |
|---|
| 12 | endef |
|---|
| 13 | |
|---|
| 14 | MASTER_SITES = http://llvm.org/releases/$(VERSION)/ |
|---|
| 15 | DISTFILES = $(DISTNAME).tgz |
|---|
| 16 | |
|---|
| 17 | # If the url used to check for software update is different of MASTER_SITES, then |
|---|
| 18 | # uncomment the next line. Otherwise it is set by default to the value of MASTER_SITES |
|---|
| 19 | # UPSTREAM_MASTER_SITES = |
|---|
| 20 | |
|---|
| 21 | GARCOMPILER = GNU |
|---|
| 22 | |
|---|
| 23 | CONFIGURE_ARGS = $(DIRPATHS) |
|---|
| 24 | CONFIGURE_ARGS += --disable-optimized |
|---|
| 25 | |
|---|
| 26 | PATCHFILES += 0001-limits.h-used-for-MAX_PATH.patch |
|---|
| 27 | |
|---|
| 28 | ENABLE_OPTIMIZED = 1 |
|---|
| 29 | OPTIMIZE_OPTION = -O0 |
|---|
| 30 | EXTRA_CONFIGURE_EXPORTS = ENABLE_OPTIMIZED |
|---|
| 31 | EXTRA_CONFIGURE_EXPORTS += OPTIMIZE_OPTION |
|---|
| 32 | EXTRA_BUILD_EXPORTS = ENABLE_OPTIMIZED |
|---|
| 33 | EXTRA_BUILD_EXPORTS += OPTIMIZE_OPTION |
|---|
| 34 | VERBOSE = 1 |
|---|
| 35 | EXTRA_CONFIGURE_EXPORTS = VERBOSE |
|---|
| 36 | EXTRA_BUILD_EXPORTS = VERBOSE |
|---|
| 37 | |
|---|
| 38 | include gar/category.mk |
|---|
| 39 | |
|---|
| 40 | # ARCHFLAGS_GCC4_sparcv8 = -m32 |
|---|
| 41 | |
|---|
| 42 | # Undefined symbol __sync_fetch_and_add_4 |
|---|
| 43 | # http://www.mail-archive.com/maintainers@lists.opencsw.org/msg06095.html |
|---|
| 44 | # http://opencsw.wikidot.com/porting-faq#toc6 |
|---|
| 45 | # ifeq ($(ISA),sparcv8) |
|---|
| 46 | OPT_FLAGS_GCC = -O0 |
|---|
| 47 | # endif |
|---|
| 48 | # ifeq ($(ISA),i386) |
|---|
| 49 | # OPT_FLAGS_GCC = |
|---|
| 50 | # endif |
|---|
| 51 | |
|---|