Browse Source

Let the environment set CC and CFLAGS. Original patch from Mike Frysinger.

git-svn-id: http://lm-sensors.org/svn/i2c-tools/trunk@5597 7894878c-1315-0410-8ee3-d5d059ff63e0
tags/v3.0.3
Jean Delvare 17 years ago
parent
commit
03aa66377f
  1. 1
      CHANGES
  2. 8
      Makefile

1
CHANGES

@ -2,6 +2,7 @@ i2c-tools CHANGES
-----------------
SVN
Makefile: Let the environment set CC and CFLAGS
decode-dimms: Handle CRC of FB-DIMM and DDR3 SDRAM memory modules
Add support for DDR3 SDRAM
Fix decoding of SDR SDRAM bytes 12-14

8
Makefile

@ -21,12 +21,12 @@ INSTALL_DIR := $(INSTALL) -m 755 -d
INSTALL_PROGRAM := $(INSTALL) -m 755
RM := rm -f
CC := gcc
CFLAGS := -Wall
CC ?= gcc
CFLAGS += -O2
CFLAGS ?= -O2
# When debugging, use the following instead
#CFLAGS += -O -g
#CFLAGS := -O -g
CFLAGS += -Wall
KERNELVERSION := $(shell uname -r)

Loading…
Cancel
Save