Skip to content

Commit

Permalink
Merge pull request #470 from k-okada/fix_julius_arm
Browse files Browse the repository at this point in the history
julius: Use DEB_TARGET_GNU_TYPE to fix #467
  • Loading branch information
k-okada committed May 31, 2023
2 parents 2a20506 + b808e95 commit c2bc474
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions 3rdparty/julius/Makefile.julius
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,12 @@ INSTALL_DIR = `rospack find julius`
# Compiler Options (see http://julius.osdn.jp/juliusbook/ja/desc_install.html for detail)
LIBSENT_OPTION =
LIBJULIUS_OPTION = "--enable-decoder-vad"

ifndef DEB_TARGET_GNU_TYPE
DEB_TARGET_GNU_TYPE = x86_64-linux-gnu
endif
installed.julius: $(SOURCE_DIR)/unpacked
(cd $(SOURCE_DIR); unset LDFLAGS && unset CFLAGS && unset CPPFLAGS && ./configure --prefix=$(INSTALL_DIR) $(LIBSENT_OPTION) $(LIBJULIUS_OPTION); make; make install)
echo $DEB_TARGET_GNU_TYPE
(cd $(SOURCE_DIR); unset LDFLAGS && unset CFLAGS && unset CPPFLAGS && ./configure --build=$(DEB_TARGET_GNU_TYPE) --prefix=$(INSTALL_DIR) $(LIBSENT_OPTION) $(LIBJULIUS_OPTION); make; make install)
touch installed.julius

clean:
Expand Down

0 comments on commit c2bc474

Please sign in to comment.