aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-02-22 13:32:46 +0100
committerMattias Andrée <m@maandree.se>2026-02-22 13:32:46 +0100
commita6fc9f3ebc47e9b9aabd73f29275fc072914812a (patch)
tree078ba201cbb073218619989803069b9b23552996 /config.mk
parentUpdate e-mail (diff)
downloadpython-bus-a6fc9f3ebc47e9b9aabd73f29275fc072914812a.tar.gz
python-bus-a6fc9f3ebc47e9b9aabd73f29275fc072914812a.tar.bz2
python-bus-a6fc9f3ebc47e9b9aabd73f29275fc072914812a.tar.xz
Fix readme add makefileHEAD3.1.5master
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk6
1 files changed, 3 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index 514c92c..9006861 100644
--- a/config.mk
+++ b/config.mk
@@ -3,12 +3,12 @@ MANPREFIX = $(PREFIX)/share/man
PYTHONDIR = $(PREFIX)/lib/python$(PYTHON_MAJOR).$(PYTHON_MINOR)
PYTHONPKGDIR = $(PYTHONDIR)/site-packages
-CC = cc
+CC = c99
CYTHON = cython$(PYTHON_MAJOR)
PYTHON = python$(PYTHON_VERSION)
-CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOUCE -D_XOPEN_SOURCE=700
-CFLAGS = -std=c99 -O2 $$(pkg-config --cflags python$(PYTHON_MAJOR))
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
+CFLAGS = -O2 $$(pkg-config --cflags python$(PYTHON_MAJOR))
LDFLAGS = -s $$(pkg-config --libs python$(PYTHON_MAJOR)) -lbus
PYTHON_MAJOR = $$(python --version 2>&1 | cut -d ' ' -f 2 | cut -d . -f 1)