Skip to content

Commit

Permalink
lang/scm: try using compiler-optimization again.
Browse files Browse the repository at this point in the history
Upstream's change log hints, that optimization should work now --
so give it a try, cautiously and ready to turn it off...
  • Loading branch information
Mikhail Teterin authored and Mikhail Teterin committed Jan 4, 2024
1 parent dd09d1b commit c8ea7b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lang/scm/Makefile
Expand Up @@ -16,7 +16,7 @@ LICENSE_FILES= ${WRKSRC}/COPYING.LESSER
BROKEN_aarch64= fails to link: missing sbrk
BROKEN_riscv64= fails to link: missing sbrk

LIB_DEPENDS= libgnuregex.so.[6-9]:devel/libgnuregex
LIB_DEPENDS= libgnuregex.so.[5-9]:devel/libgnuregex

WRKSRC= ${WRKDIR}/${PORTNAME}

Expand All @@ -25,7 +25,7 @@ HAS_CONFIGURE= yes
CONFIGURE_ENV= --prefix=${PREFIX}
MAKE_JOBS_UNSAFE= yes

CFLAGS:= ${CFLAGS:N-O*} -O0
#CFLAGS:= ${CFLAGS:N-O*} -O0
CFLAGS+= -Wall -Wwrite-strings -Wmissing-declarations -Wredundant-decls -Wcast-qual
CFLAGS+= -Wno-unused-label -Wno-uninitialized

Expand Down

0 comments on commit c8ea7b4

Please sign in to comment.