Changeset 1418
- Timestamp:
- 08/20/11 16:16:00 (9 months ago)
- File:
-
- 1 edited
-
trunk/Makefile (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r1416 r1418 38 38 endif 39 39 40 # Determine the destination processor architecture41 override ARCH := $(strip $(shell LC_ALL=C $(CC) -E arch.h|grep -v '^\#'))42 43 40 # FIXME We have to differentiate between host and target OS architecture. 44 41 OS_ARCH ?= $(shell uname) … … 202 199 endif 203 200 endif 201 202 # Determine the destination processor architecture. 203 # IMPORTANT: The following line must be placed before ARCH is ever used 204 # (of course), but should come after any lines setting CC because the line 205 # below uses CC itself. In some cases we set CC based on OS_ARCH, see above. 206 override ARCH := $(strip $(shell LC_ALL=C $(CC) -E arch.h 2>/dev/null | grep -v '^\#')) 204 207 205 208 ifeq ($(ARCH), "ppc")
Note: See TracChangeset
for help on using the changeset viewer.
