aboutsummaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--README2
-rw-r--r--config.mk6
2 files changed, 4 insertions, 4 deletions
diff --git a/README b/README
index cacc411..58268b3 100644
--- a/README
+++ b/README
@@ -8,4 +8,4 @@ DESCRIPTION
SEE ALSO
libbus(7)
- Full documentation available locally via the command help i python(1).
+ Full documentation available locally via the command help in python(1).
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)