Changeset f59a2da in rtems-libbsd


Ignore:
Timestamp:
Feb 13, 2015, 10:59:27 AM (4 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
4.11, 5283630d2c9d40deb0183696d278e02644fe4326, freebsd-9.3, bc2ba9a9cdc7381c2a4f2ae6ee303be636f31368
Children:
19adb93
Parents:
be2e60c
git-author:
Sebastian Huber <sebastian.huber@…> (02/13/15 10:59:27)
git-committer:
Sebastian Huber <sebastian.huber@…> (03/06/15 13:58:13)
Message:

Use C11 and C++11

This is necessary to use <stdatomic.h> and <atomic>.

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Makefile

    rbe2e60c rf59a2da  
    3232COMMON_FLAGS += -MT $@ -MD -MP -MF $(basename $@).d
    3333CFLAGS += $(COMMON_FLAGS)
    34 CFLAGS += -std=gnu99
     34CFLAGS += -std=gnu11
    3535CXXFLAGS += $(COMMON_FLAGS)
     36CXXFLAGS += -std=gnu++11
    3637NEED_DUMMY_PIC_IRQ=yes
    3738
  • freebsd-to-rtems.py

    rbe2e60c rf59a2da  
    440440                        'COMMON_FLAGS += -MT $@ -MD -MP -MF $(basename $@).d\n' \
    441441                        'CFLAGS += $(COMMON_FLAGS)\n' \
    442                         'CFLAGS += -std=gnu99\n' \
     442                        'CFLAGS += -std=gnu11\n' \
    443443                        'CXXFLAGS += $(COMMON_FLAGS)\n' \
     444                        'CXXFLAGS += -std=gnu++11\n' \
    444445                        'NEED_DUMMY_PIC_IRQ=yes\n' \
    445446                        '\n' \
Note: See TracChangeset for help on using the changeset viewer.