Skip to content

Commit

Permalink
Merge pull request #13 from didomenico/master
Browse files Browse the repository at this point in the history
Relay flags to libv4l2rtspserver target
  • Loading branch information
mpromonet authored Dec 5, 2023
2 parents eb558b8 + a97180f commit a59b554
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ GSOAP_BIN?=$(GSOAP_PREFIX)/bin
GSOAP_BASE=$(GSOAP_PREFIX)/share/gsoap
GSOAP_PLUGINS=$(GSOAP_BASE)/plugin

CMAKE_CXX_FLAGS:=$(CXXFLAGS)
CXXFLAGS+=-std=c++11 -g2 -I inc -I ws-discovery/gsoap/
CXXFLAGS+=-I gen -I $(GSOAP_PREFIX)/include -I $(GSOAP_PLUGINS)
CXXFLAGS+=-DWITH_DOM -DWITH_OPENSSL -DSOAP_PURE_VIRTUAL -fpermissive -pthread -DVERSION=\"$(VERSION)\"
Expand Down Expand Up @@ -64,7 +65,7 @@ libwsdd.a:
# v4l2rtsp
liblibv4l2rtspserver.a:
git submodule update --recursive --init v4l2rtspserver
cd v4l2rtspserver && cmake -DALSA=OFF . && make libv4l2rtspserver
cd v4l2rtspserver && cmake -DALSA=OFF -DCMAKE_CXX_COMPILER=$(CXX) -DCMAKE_C_COMPILER=$(CC) -DCMAKE_CXX_FLAGS=$(CMAKE_CXX_FLAGS) . && make libv4l2rtspserver
cp v4l2rtspserver/$@ .


Expand Down

0 comments on commit a59b554

Please sign in to comment.