Skip to content

Commit

Permalink
Change static linking to dynamic.
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Aug 18, 2016
1 parent 1d459e3 commit 6190c65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
4 changes: 2 additions & 2 deletions JSON/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@ compile-i-nex-edid:

compile-i-nex-cpuid:
@echo -e '$(OK_COLOR)Compile i-nex-cpuid $(OK_STRING)$(NO_COLOR)'
$(CC) -o i-nex-cpuid i-nex-cpuid.c $(YESNO_LINK) $(CC_OPTS_LIBCPUID) $(additional_confflags)
$(CC) -o i-nex-cpuid i-nex-cpuid.c $(CC_OPTS_LIBCPUID) $(additional_confflags)

compile-i-nex-usage:
@echo -e '$(OK_COLOR)Compile i-nex-usage $(OK_STRING)$(NO_COLOR)'
$(CC) -o i-nex-usage i-nex-usage.c $(YESNO_LINK) $(CC_OPTS_LIBPROCPS) $(additional_confflags)
$(CC) -o i-nex-usage i-nex-usage.c $(CC_OPTS_LIBPROCPS) $(additional_confflags)

compile-i-nex-cpusage:
@echo -e '$(OK_COLOR)Compile i-nex-cpusage $(OK_STRING)$(NO_COLOR)'
Expand Down
5 changes: 0 additions & 5 deletions i-nex.mk
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,6 @@ RMFILE_OPT = -f
RMDIR_OPT = -Rf
STATIC = true
UDEV_RULES_DIR = /etc/udev/rules.d
ifeq ($(STATIC),true)
YESNO_LINK = -static
else
YESNO_LINK =
endif

ifeq ($(ARCH),x86)
additional_confflags := --disable-sse2
Expand Down

0 comments on commit 6190c65

Please sign in to comment.