mirror of
https://github.com/palera1n/palera1n.git
synced 2026-10-21 09:47:01 +02:00
changes
This commit is contained in:
1 parent
b6c7777c51
commit
23b76ec6d7
2 files changed
+15
-5
No files matched your search
@@ -32,6 +32,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Install dependencies (packages)
|
- name: Install dependencies (packages)
|
||||||
run: |
|
run: |
|
||||||
@@ -367,6 +369,8 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
with:
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Install build dependencies (packages)
|
- name: Install build dependencies (packages)
|
||||||
run: |
|
run: |
|
||||||
|
|||||||
@@ -27,16 +27,22 @@ ifeq ($(DEV_BUILD),1)
|
|||||||
LIBS += $(DEP)/lib/libmenutw.a $(DEP)/lib/libncursestw.a
|
LIBS += $(DEP)/lib/libmenutw.a $(DEP)/lib/libncursestw.a
|
||||||
CFLAGS += -O0 -g -DDEV_BUILD -fno-omit-frame-pointer
|
CFLAGS += -O0 -g -DDEV_BUILD -fno-omit-frame-pointer
|
||||||
ifeq ($(ASAN),1)
|
ifeq ($(ASAN),1)
|
||||||
CFLAGS += -DBUILD_STYLE=\"ASAN\" -fsanitize=address,undefined -fsanitize-address-use-after-return=runtime
|
BUILD_STYLE=ASAN
|
||||||
|
CFLAGS += -fsanitize=address,undefined -fsanitize-address-use-after-return=runtime
|
||||||
else
|
else
|
||||||
CFLAGS += -DBUILD_STYLE=\"DEVELOPMENT\"
|
BUILD_STYLE = DEVELOPMENT
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
CFLAGS += -Os -g -DBUILD_STYLE=\"RELEASE\"
|
CFLAGS += -Os -g
|
||||||
|
BUILD_STYLE = RELEASE
|
||||||
endif
|
endif
|
||||||
CFLAGS += -DBUILD_DATE="\"$(shell LANG=C date)\"" -DBUILD_WHOAMI=\"$(shell whoami)\" -DBUILD_TAG=\"$(shell git describe --dirty --tags --abbrev=7)\"
|
BUILD_DATE := $(shell LANG=C date)
|
||||||
|
BUILD_TAG := $(shell git describe --dirty --tags --abbrev=7)
|
||||||
|
BUILD_WHOAMI := $(shell whoami)
|
||||||
|
|
||||||
export SRC DEP CC CFLAGS LDFLAGS LIBS TARGET_OS DEV_BUILD
|
CFLAGS += -DBUILD_STYLE=\"$(BUILD_STYLE)\" -DBUILD_DATE="\"$(BUILD_DATE)\"" -DBUILD_WHOAMI=\"$(BUILD_WHOAMI)\" -DBUILD_TAG=\"$(BUILD_TAG)\"
|
||||||
|
|
||||||
|
export SRC DEP CC CFLAGS LDFLAGS LIBS TARGET_OS DEV_BUILD BUILD_DATE BUILD_TAG BUILD_WHOAMI BUILD_STYLE
|
||||||
|
|
||||||
all: palera1n
|
all: palera1n
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user