diff options
Diffstat (limited to 'src/rtapi/examples')
-rw-r--r-- | src/rtapi/examples/Makefile | 2 | ||||
-rw-r--r-- | src/rtapi/examples/shmem/Makefile | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/rtapi/examples/Makefile b/src/rtapi/examples/Makefile index f65cf300f..fa14c4495 100644 --- a/src/rtapi/examples/Makefile +++ b/src/rtapi/examples/Makefile @@ -52,7 +52,7 @@ clean: kclean # all older system build the traditional way ifeq ($(BUILD_SYS),kbuild) -modules: headers +modules: $(MAKE) -C $(KDIR) SUBDIRS=$(PWD) CC=$(CC) V=0 modules - cp *.ko $(RTLIB_DIR)/ diff --git a/src/rtapi/examples/shmem/Makefile b/src/rtapi/examples/shmem/Makefile index 6aa947497..ce70132c9 100644 --- a/src/rtapi/examples/shmem/Makefile +++ b/src/rtapi/examples/shmem/Makefile @@ -31,6 +31,8 @@ $(BIN_DIR)/shmemusr all : headers $(LIBS) $(BINS) +LOCAL_CFLAGS = -fstrict-aliasing -Wno-strict-aliasing + # Generic rules include $(SRC_DIR)/Make.rules |