Skip to content

Commit 4be5217

Browse files
keith-packardnashif
authored andcommitted
Don't install gcc version of stdint.h
picolibc always provides stdint.h which is required to be used for inttypes.h to work. Don't ever replace it with the gcc version. Signed-off-by: Keith Packard <[email protected]>
1 parent 6e12704 commit 4be5217

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

gcc/config.gcc

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6153,12 +6153,9 @@ case "$default_libc" in
61536153
LIBC_PICOLIBC)
61546154
# __cxa_atexit is provided.
61556155
default_use_cxa_atexit=yes
6156-
use_gcc_stdint=wrap
6156+
# picolibc provides stdint.h
6157+
use_gcc_stdint=none
61576158
tm_file="${tm_file} picolibc-spec.h"
61586159
extra_options="${extra_options} picolibc.opt"
6159-
case "${with_newlib}-${with_headers}" in
6160-
no-no) use_gcc_stdint=provide ;;
6161-
*) ;;
6162-
esac
61636160
;;
61646161
esac

0 commit comments

Comments
 (0)