Skip to content

Commit

Permalink
use better way to detect architecture
Browse files Browse the repository at this point in the history
  • Loading branch information
holishing committed Nov 27, 2018
1 parent 2590be4 commit e807c9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dreambbs.mk
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Common BSD make rules for DreamBBS Project

ARCHI != uname -m
ARCHI != getconf LONG_BIT

OPSYS != uname -o

Expand All @@ -22,7 +22,7 @@ CFLAGS = -g -O2 -pipe -fomit-frame-pointer -Wunused -Wno-invalid-source-encoding

LDFLAGS = -L../lib -ldao -lcrypt

.if $(ARCHI)=="x86_64" || $(ARCHI)=="amd64"
.if $(ARCHI)=="64"
CFLAGS += -m32
LDFLAGS += -m32
.endif
Expand Down

0 comments on commit e807c9c

Please sign in to comment.