Skip to content

Commit

Permalink
revert make file changes
Browse files Browse the repository at this point in the history
  • Loading branch information
tac0turtle committed Jan 8, 2025
1 parent 6ee0260 commit ba62dd5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/build/build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ endif
# handle sqlite
ifeq (sqlite,$(findstring sqlite,$(COSMOS_BUILD_OPTIONS)))
CGO_ENABLED=1
ifeq (arm64,$(shell go env GOARCH))
CC=aarch64-linux-gnu-gcc
endif
endif

# benchmark module
Expand Down Expand Up @@ -130,6 +133,8 @@ build-linux-arm64:
GOOS=linux GOARCH=arm64 LEDGER_ENABLED=false $(MAKE) build

$(BUILD_TARGETS): go.sum $(BUILDDIR)/
$(if $(CGO_ENABLED),CGO_ENABLED=$(CGO_ENABLED)) \
$(if $(CC),CC=$(CC)) \
cd ${CURRENT_DIR}/${SIMAPP} && \
go $@ -mod=readonly $(BUILD_FLAGS) $(BUILD_ARGS) ./...

Expand Down

0 comments on commit ba62dd5

Please sign in to comment.