Skip to content

Commit

Permalink
Amend all subdirs' Makefiles to use compiler flags chosen for CPU
Browse files Browse the repository at this point in the history
This commit only applies to autoconf builds.

Closes #5598
  • Loading branch information
magnumripper committed Dec 3, 2024
1 parent 40752fe commit f88688e
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/ed25519-donna/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ AS = @CC@
LD = @CC@
CPP = @CC@
CPPFLAGS = @CPPFLAGS@
CFLAGS = @CFLAGS@ @CFLAGS_EXTRA@ @OPENSSL_CFLAGS@ -Wno-unused-function
CFLAGS = -c -DAC_BUILT @CC_CPU@ @CC_MAIN_CPU@ @CFLAGS@ @JOHN_NO_SIMD@ @CFLAGS_EXTRA@ @OPENSSL_CFLAGS@ @OPENMP_CFLAGS@ @HAVE_MPI@ @PTHREAD_CFLAGS@ @CPPFLAGS@ -Wno-unused-function
ASFLAGS = @ASFLAGS@ -c @EXTRA_AS_FLAGS@
LDFLAGS = @LDFLAGS@ @OPENSSL_LIBS@
AR = @AR@
Expand Down
2 changes: 1 addition & 1 deletion src/mbedtls/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ CC = @CC@
AS = @CC@
LD = @CC@
CPP = @CC@
CFLAGS = @CFLAGS@ @CFLAGS_EXTRA@ @JOHN_NO_SIMD@ -std=c99
CFLAGS = -c -DAC_BUILT @CC_CPU@ @CC_MAIN_CPU@ @CFLAGS@ @JOHN_NO_SIMD@ @CFLAGS_EXTRA@ @OPENSSL_CFLAGS@ @OPENMP_CFLAGS@ @HAVE_MPI@ @PTHREAD_CFLAGS@ @CPPFLAGS@ -std=c99
ASFLAGS = @ASFLAGS@ -c @EXTRA_AS_FLAGS@
LDFLAGS = @LDFLAGS@
AR = @AR@
Expand Down
2 changes: 1 addition & 1 deletion src/poly1305-donna/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ AS = @CC@
LD = @CC@
CPP = @CC@
CPPFLAGS = @CPPFLAGS@
CFLAGS = @CFLAGS@ @CFLAGS_EXTRA@ -Wno-unused-function
CFLAGS = -c -DAC_BUILT @CC_CPU@ @CC_MAIN_CPU@ @CFLAGS@ @JOHN_NO_SIMD@ @CFLAGS_EXTRA@ @OPENSSL_CFLAGS@ @OPENMP_CFLAGS@ @HAVE_MPI@ @PTHREAD_CFLAGS@ @CPPFLAGS@ -Wno-unused-function
ASFLAGS = @ASFLAGS@ -c @EXTRA_AS_FLAGS@
LDFLAGS = @LDFLAGS@
AR = @AR@
Expand Down
2 changes: 1 addition & 1 deletion src/secp256k1/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ CXX = @CXX@
AS = @CC@
LD = @CC@
CPP = @CC@
CFLAGS = @CFLAGS@ @CFLAGS_EXTRA@ @OPENSSL_CFLAGS@ -Wno-unused-function
CFLAGS = -c -DAC_BUILT @CC_CPU@ @CC_MAIN_CPU@ @CFLAGS@ @JOHN_NO_SIMD@ @CFLAGS_EXTRA@ @OPENSSL_CFLAGS@ @OPENMP_CFLAGS@ @HAVE_MPI@ @PTHREAD_CFLAGS@ @CPPFLAGS@ -Wno-unused-function
ASFLAGS = @ASFLAGS@ -c @EXTRA_AS_FLAGS@
LDFLAGS = @LDFLAGS@ @OPENSSL_LIBS@
AR = @AR@
Expand Down
2 changes: 1 addition & 1 deletion src/ztex/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# modification, are permitted.

CC = gcc
CFLAGS = -c -Wall -O2 -g
CFLAGS = -c -DAC_BUILT @CC_CPU@ @CC_MAIN_CPU@ @CFLAGS@ @JOHN_NO_SIMD@ @CFLAGS_EXTRA@ @OPENSSL_CFLAGS@ @OPENMP_CFLAGS@ @HAVE_MPI@ @PTHREAD_CFLAGS@ @CPPFLAGS@
CFLAGS_TEST = -O
#LD = ld
RM = /bin/rm -f
Expand Down

0 comments on commit f88688e

Please sign in to comment.