Skip to content

Commit

Permalink
Build fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
petewarden committed Jan 4, 2022
1 parent 999504a commit 4cff405
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ default: $(SPCHCAT_BIN)
clean:
rm -f spchcat

$(SPCHCAT_BIN): spchcat.cc pa_list_devices.cc Makefile
$(CXX) $(CFLAGS) $(CFLAGS_STT) $(SOX_CFLAGS) pa_list_devices.cc spchcat.cc $(LDFLAGS) $(SOX_LDFLAGS)
$(SPCHCAT_BIN): src/spchcat.cc src/pa_list_devices.cc Makefile
$(CXX) $(CFLAGS) $(CFLAGS_STT) $(SOX_CFLAGS) src/pa_list_devices.cc src/spchcat.cc $(LDFLAGS) $(SOX_LDFLAGS)
ifeq ($(OS),Darwin)
install_name_tool -change bazel-out/local-opt/bin/native_client/libstt.so @rpath/libstt.so stt
endif
Expand Down
2 changes: 1 addition & 1 deletion definitions.mk
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ PLATFORM_EXE_SUFFIX := .exe
endif

SPCHCAT_BIN := spchcat$(PLATFORM_EXE_SUFFIX)
CFLAGS_STT := -std=c++11 -o $(SPCHCAT_BIN) -Os
CFLAGS_STT := -std=c++11 -o $(SPCHCAT_BIN) -Os -Isrc/
# Allow user-supplied flags (like include paths) from the command line.
EXTRA_CFLAGS_STT :=
CFLAGS_STT += ${EXTRA_CFLAGS_STT}
Expand Down
2 changes: 1 addition & 1 deletion notebooks/build.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion scripts/install_gh.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt -qq update
sudo apt -qq install gh
sudo apt -qq install -y gh

echo "Go to https://github.com/settings/tokens/new to create a new token, and enter it below:"
read GH_TOKEN
Expand Down

0 comments on commit 4cff405

Please sign in to comment.